public class SValueContent extends Object implements SXmlEntity
Constructor and Description |
---|
SValueContent()
Creates new instance.
|
SValueContent(long modelId,
String modelName,
String modelVersion,
String modelHash,
LinkedHashSet<SComplexValue> values)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addValue(SComplexValue value) |
String |
getModelHash()
Returns hash of the model.
|
long |
getModelId()
Returns id of the model.
|
String |
getModelName()
Returns name of the model.
|
String |
getModelVersion()
Returns version of the model.
|
Set<SComplexValue> |
getValues()
Returns all stored values.
|
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 |
setModelHash(String modelHash) |
void |
setModelId(long modelId) |
void |
setModelName(String modelName) |
void |
setModelVersion(String modelVersion) |
public SValueContent()
public SValueContent(long modelId, String modelName, String modelVersion, String modelHash, LinkedHashSet<SComplexValue> values)
modelId
- modelName
- modelVersion
- modelHash
- values
- public long getModelId()
public String getModelName()
public String getModelVersion()
public String getModelHash()
public Set<SComplexValue> getValues()
public void setModelId(long modelId)
public void setModelName(String modelName)
public void setModelVersion(String modelVersion)
public void setModelHash(String modelHash)
public void addValue(SComplexValue 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.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.