public abstract class SVariable extends Object implements SXmlEntity
Modifier | Constructor and Description |
---|---|
protected |
SVariable()
Creates new empty instance of
SVariable . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getFlagValue(byte mask) |
String |
getName()
Returns variable name.
|
String |
getType()
Returns the type.
|
SSimpleValue |
getValue()
Returns variable value.
|
boolean |
isExpressionLocal()
Returns true is the variable is defined in an expression.
|
protected Boolean |
isExpressionLocalJaxb()
Getter for JAXB.
|
abstract boolean |
isInitialValueChanged()
Returns true if initial value was changed.
|
boolean |
isInternal()
Returns true if this variable is internal.
|
protected Boolean |
isInternalJaxb()
Getter for JAXB.
|
abstract boolean |
isReadOnly()
Returns true if variable is read only.
|
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 |
setExpressionLocal(boolean isExpressionLocal)
Sets the flag that the the variable is defined in an expression
|
protected void |
setExpressionLocalJaxb(Boolean b)
Setter for JAXB.
|
protected void |
setFlagValue(boolean b,
byte mask) |
void |
setInternal(boolean internal)
Sets the internal flag of this variable.
|
protected void |
setInternalJaxb(Boolean b)
Setter for JAXB.
|
void |
setName(String name) |
void |
setType(String type) |
void |
setValue(SSimpleValue value) |
String |
toString() |
abstract Variable |
toVariable(ModelInstance modelInstance) |
protected SVariable()
SVariable
.public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public SSimpleValue getValue()
public void setValue(SSimpleValue value)
protected Boolean isInternalJaxb()
protected void setInternalJaxb(Boolean b)
b
- public boolean isInternal()
public void setInternal(boolean internal)
internal
- protected Boolean isExpressionLocalJaxb()
protected void setExpressionLocalJaxb(Boolean b)
b
- public boolean isExpressionLocal()
public void setExpressionLocal(boolean isExpressionLocal)
isExpressionLocal
- public abstract boolean isInitialValueChanged()
public abstract boolean isReadOnly()
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.protected final boolean getFlagValue(byte mask)
protected final void setFlagValue(boolean b, byte mask)
public abstract Variable toVariable(ModelInstance modelInstance)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.