public class SContext extends Object implements SXmlEntity, SEntityWithId
SValue
.Constructor and Description |
---|
SContext()
Creates new empty instance of
SContext . |
Modifier and Type | Method and Description |
---|---|
void |
addChildContext(SContext c) |
void |
addFreeType(SContextFreeType t) |
void |
addVariable(SVariable var) |
Long |
getBaseLevelEntityId()
Returns id of the corresponding context in base level.
|
Collection<SContext> |
getChildContexts()
Returns immutable collection of child contexts.
|
String |
getElementId()
Returns the element id.
|
String |
getEvaluationLevel()
Returns evaluation level of this value.
|
List<SContextFreeType> |
getFreeTypes()
Returns free types.
|
long |
getId()
Returns the id.
|
Long |
getLowerLevelEntityId()
Returns id of the corresponding context in previous lower level.
|
String |
getName()
Returns name of this context.
|
Long |
getRecordValueId()
Returns id of record value.
|
List<SVariable> |
getVariables()
Returns an immutable list of variables.
|
boolean |
hasFreeTypes() |
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 |
setBaseLevelEntityId(Long baseLevelEntityId) |
void |
setElementId(String elementId)
Sets element id.
|
void |
setEvaluationLevel(String evaluationLevel) |
void |
setId(long id) |
void |
setLowerLevelEntityId(Long lowerLevelEntityId) |
void |
setName(String name) |
void |
setRecordValueId(Long recordValueId) |
String |
toString() |
public SContext()
SContext
.public long getId()
SEntityWithId
getId
in interface SEntityWithId
public String getName()
public Long getRecordValueId()
public Collection<SContext> getChildContexts()
public void addChildContext(SContext c)
public List<SVariable> getVariables()
public void addVariable(SVariable var)
public String getElementId()
public void setElementId(String elementId)
elementId
- public List<SContextFreeType> getFreeTypes()
public boolean hasFreeTypes()
public void addFreeType(SContextFreeType t)
public void setName(String name)
public void setId(long id)
public void setRecordValueId(Long recordValueId)
public void setEvaluationLevel(String evaluationLevel)
public void setLowerLevelEntityId(Long lowerLevelEntityId)
public void setBaseLevelEntityId(Long baseLevelEntityId)
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 String getEvaluationLevel()
public Long getBaseLevelEntityId()
public Long getLowerLevelEntityId()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.