public class PreTableComponentModel extends RateComponentModel implements ContextualNode
| Constructor and Description |
|---|
PreTableComponentModel()
Builds an empty PreTableComponentModel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
boolean |
checkValidity()
Returns true if the component is valid.
|
RatingContextDescription |
getContext(ContextualNode child)
Gets the context description for the specified child;
The context description contains all the context properties.
|
Vector<String> |
getInMapping()
Gets the in mapping.
|
int |
getMaxChildCount()
Gets the maximum child count (1).
|
int |
getOperator()
Gets the operator.
|
Vector<String> |
getOutMapping()
Gets the out mapping.
|
String |
getReferenceDate()
Gets the reference date.
|
TranslationTableModel |
getTable()
Gets the translation table.
|
String |
getTableCode()
Gets the code of the translation table used in this component.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setInMapping(Vector<String> m)
Sets the in mapping.
|
void |
setOperator(int o)
Sets the operator.
|
void |
setOutMapping(Vector<String> m)
Sets the out mapping.
|
void |
setReferenceDate(String refDate)
Sets the reference date.
|
void |
setTable(TranslationTableModel t)
Sets the translation table.
|
void |
setTableCode(String c)
Sets the code of the translation table used in this component.
|
getChildAt, getChildCount, getChildren, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinheritedContext, setParentpublic PreTableComponentModel()
public void setTable(TranslationTableModel t)
t - the translation table.public TranslationTableModel getTable()
public String getTableCode()
public void setTableCode(String c)
c - the code of the translation table used in this component.public void setInMapping(Vector<String> m)
m - a Vector of String containing the in property names.public Vector<String> getInMapping()
String containing the in property names.public void setOutMapping(Vector<String> m)
m - a Vector of String containing the out property names.public Vector<String> getOutMapping()
String containing the out property names.public void setReferenceDate(String refDate)
refDate - a String of String containing the in property names.public String getReferenceDate()
public void setOperator(int o)
TranslationTableModel for complete operators list.o - the operator.public int getOperator()
setOperator for returned values.public int getMaxChildCount()
getMaxChildCount in class RateComponentModelpublic boolean checkValidity()
checkValidity in class RateComponentModelpublic RatingContextDescription getContext(ContextualNode child)
ContextualNodegetContext in interface ContextualNodegetContext in class RateComponentModelchild - The child nodepublic void addChild(String tagName, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallableaddChild in class RateComponentModeltagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallableaddCharacterData in class RateComponentModelcData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into