public class SRangeValue extends Object implements SSimpleValue
| Modifier | Constructor and Description |
|---|---|
protected |
SRangeValue() |
|
SRangeValue(long first,
long last)
Constructs a new range.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getFirst()
Returns the first element in this range.
|
long |
getLast()
Returns the last element in this range.
|
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.
|
SimpleValue |
toValue(ModelInstance modelInstance)
Creates a real value.
|
protected SRangeValue()
public SRangeValue(long first,
long last)
first - last - public long getFirst()
public long getLast()
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 SimpleValue toValue(ModelInstance modelInstance)
SValuetoValue in interface SSimpleValuetoValue in interface SValueCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.