public class SLocalDateTimeValue extends java.lang.Object implements SSimpleValue
Modifier | Constructor and Description |
---|---|
protected |
SLocalDateTimeValue()
Creates new empty instance of
SLocalDateTimeValue . |
|
SLocalDateTimeValue(java.time.LocalDateTime value)
Creates new instance of
SLocalDateTimeValue . |
Modifier and Type | Method and Description |
---|---|
java.time.LocalDateTime |
getValue() |
void |
postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
Callback method invoked after unmarshalling XML data into target.
|
void |
preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
Callback method invoked before unmarshalling into target.
|
java.lang.String |
toString() |
SimpleValue |
toValue(ModelInstance modelInstance)
Creates a real value.
|
protected SLocalDateTimeValue()
SLocalDateTimeValue
.public SLocalDateTimeValue(java.time.LocalDateTime value)
SLocalDateTimeValue
.value
- java.lang.NullPointerException
- if modelInstance
or value
is nullpublic java.time.LocalDateTime getValue()
public void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
UnmarshalCallback
preUnmarshal
in interface UnmarshalCallback
parent
- instance of JAXB mapped class that will eventually reference target.
null when target is root element.public void postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
UnmarshalCallback
postUnmarshal
in interface UnmarshalCallback
parent
- instance of JAXB mapped class that will reference target.
null when target is root element.public java.lang.String toString()
toString
in class java.lang.Object
public SimpleValue toValue(ModelInstance modelInstance)
SValue
toValue
in interface SSimpleValue
toValue
in interface SValue
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.