public class PreTierTableComponentModel extends RateComponentModel implements ContextualNode
| Constructor and Description |
|---|
PreTierTableComponentModel()
Builds an empty PreTierTableComponentModel.
|
| 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.
|
String |
getGroupPropertyName()
Gets the property name that contains the name of group.
|
String |
getInPropertyName()
Gets the input property name.
|
int |
getMaxChildCount()
Gets the maximum child count (1).
|
Vector<String> |
getOutMapping()
Gets the out mapping.
|
TierTableModel |
getTable()
Gets the tier table.
|
String |
getTableCode()
Gets the code of the tier table used in this component.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setGroupPropertyName(String p)
Sets the property name that contains the name of group to use.
|
void |
setInPropertyName(String p)
Sets the input property name.
|
void |
setOutMapping(Vector<String> m)
Sets the output mapping.
|
void |
setTable(TierTableModel t)
Sets the tier table.
|
void |
setTableCode(String c)
Sets the code of the tier 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 PreTierTableComponentModel()
public void setTable(TierTableModel t)
t - the tier table.public TierTableModel getTable()
public String getTableCode()
public void setTableCode(String c)
c - the code of the tier table used in this component.public void setInPropertyName(String p)
p - a string containing the input property name.public String getInPropertyName()
public void setGroupPropertyName(String p)
p - a string containing the property name that contains the name of group.public String getGroupPropertyName()
public void setOutMapping(Vector<String> m)
m - a Vector of String containing the output property names.public Vector<String> getOutMapping()
String containing the output property names.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