public class OutPropertyUpdateComponentModel extends RateComponentModel
| Constructor and Description |
|---|
OutPropertyUpdateComponentModel()
Builds an empty OutPropertyUpdateComponentModel.
|
OutPropertyUpdateComponentModel(String propertyName,
String outPropertyName,
int outPropertyType,
BigDecimal outDefaultNumber,
Date outDefaultDate,
String outDefaultString)
Builds an OutPropertyUpdateComponentModel.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Date |
getDateValue()
Gets the date value.
|
int |
getMaxChildCount()
Gets the maximum child count (1).
|
BigDecimal |
getNumberValue()
Gets the number value.
|
String |
getOutPropertyName()
Gets the out property name.
|
int |
getOutPropertyType()
Gets the out property type.
|
String |
getPropertyName()
Gets the property name.
|
String |
getStringValue()
Gets the string value.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setDateValue(Date d)
Sets the date value.
|
void |
setNumberValue(BigDecimal number)
Sets the number value.
|
void |
setOutPropertyName(String name)
Sets the out property name.
|
void |
setOutPropertyType(int type)
Sets the out property type.
|
void |
setPropertyName(String name)
Sets the property name.
|
void |
setStringValue(String s)
Sets the string value.
|
addCharacterData, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentpublic OutPropertyUpdateComponentModel()
public OutPropertyUpdateComponentModel(String propertyName, String outPropertyName, int outPropertyType, BigDecimal outDefaultNumber, Date outDefaultDate, String outDefaultString)
setOutPropertyTypepropertyName - the source property name.outPropertyName - the output property name.outPropertyType - the output property type.outDefaultNumber - the output default Number value.outDefaultDate - the output default Date value.outDefaultString - the output default String value.public void setPropertyName(String name)
name - the property name.public String getPropertyName()
public void setOutPropertyName(String name)
name - the out property name.public String getOutPropertyName()
public void setOutPropertyType(int type)
type - the out property.public int getOutPropertyType()
public BigDecimal getNumberValue()
public void setNumberValue(BigDecimal number)
number - the number value.public String getStringValue()
public void setStringValue(String s)
s - the string value.public Date getDateValue()
public void setDateValue(Date d)
d - the date value.public int getMaxChildCount()
getMaxChildCount in class RateComponentModelpublic boolean checkValidity()
checkValidity in class RateComponentModelpublic 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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallablemarshal in class RateComponentModeloutput - The XML output to marshal the object into