public class DateFormat extends Modifiable implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
modifiedAt, modifiedBy
Constructor and Description |
---|
DateFormat() |
DateFormat(DateFormat o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this DateFormat.
|
static DateFormat |
fromString(java.lang.String s)
String representation of this DateFormat.
|
java.lang.String |
getValue()
The date format value
|
DateFormat |
makeCopy()
Creates and returns a deep copy of this DateFormat.
|
static DateFormat |
readFrom(java.io.InputStream is)
Read this DateFormat from an XML fragment.
|
void |
setValue(java.lang.String value)
The date format value
|
java.lang.String |
toString()
String representation of this DateFormat.
|
DateFormat |
withModifiedAt(java.lang.Long modifiedAt) |
DateFormat |
withModifiedBy(java.lang.String modifiedBy) |
DateFormat |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this DateFormat as an XML fragment
|
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public DateFormat()
public DateFormat(DateFormat o)
public DateFormat withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class Modifiable
public DateFormat withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class Modifiable
public void setValue(java.lang.String value)
public java.lang.String getValue()
public DateFormat withValue(java.lang.String value)
public DateFormat makeCopy()
makeCopy
in class Modifiable
public static DateFormat readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class Modifiable
javax.xml.bind.JAXBException
java.io.IOException
public static DateFormat fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class Modifiable
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class Modifiable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.