public class SReadOnlyRecordValue extends Object implements SSimpleValue, SEntityWithId
Constructor and Description |
---|
SReadOnlyRecordValue()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getId()
Returns the id.
|
long |
getRecordId() |
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.
|
void |
setId(long id) |
void |
setRecordId(long recordId) |
SimpleValue |
toValue(ModelInstance modelInstance)
Creates a real value.
|
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 long getId()
SEntityWithId
getId
in interface SEntityWithId
public void setId(long id)
public long getRecordId()
public void setRecordId(long recordId)
public SimpleValue toValue(ModelInstance modelInstance)
SValue
toValue
in interface SSimpleValue
toValue
in interface SValue
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.