public class SValueRef extends java.lang.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,
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() |
ValueRef |
toValue(ModelInstance modelInstance)
Creates a real value.
|
protected SValueRef()
public SValueRef(long id)
id - java.lang.NullPointerException - if modelInstance is nullpublic long getId()
public void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.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,
java.lang.Object parent)
UnmarshalCallbackpostUnmarshal in interface UnmarshalCallbackparent - 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.Objectpublic ValueRef toValue(ModelInstance modelInstance)
SValuetoValue in interface SSimpleValuetoValue in interface SValueCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.