public class SValueRef extends Object implements SSimpleValue
Modifier | Constructor and Description |
---|---|
protected |
SValueRef()
Creates an empty instance.
|
|
SValueRef(long id)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getId() |
void |
postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked after unmarshalling XML data into target.
|
void |
preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked before unmarshalling into target.
|
String |
toString() |
ValueRef |
toValue(ModelInstance modelInstance)
Creates a real value.
|
protected SValueRef()
public SValueRef(long id)
id
- NullPointerException
- if modelInstance
is nullpublic long getId()
public void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, 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, Object parent)
UnmarshalCallback
postUnmarshal
in interface UnmarshalCallback
parent
- instance of JAXB mapped class that will reference target.
null when target is root element.public ValueRef toValue(ModelInstance modelInstance)
SValue
toValue
in interface SSimpleValue
toValue
in interface SValue
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.