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)
UnmarshalCallbackpreUnmarshal in interface UnmarshalCallbackparent - 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)
UnmarshalCallbackpostUnmarshal in interface UnmarshalCallbackparent - instance of JAXB mapped class that will reference target.
null when target is root element.public ValueRef toValue(ModelInstance modelInstance)
SValuetoValue in interface SSimpleValuetoValue in interface SValueCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.