public class OutPropertyUpdateComponentModel extends RateComponentModel
| Constructor and Description |
|---|
OutPropertyUpdateComponentModel()
Builds an empty OutPropertyUpdateComponentModel.
|
OutPropertyUpdateComponentModel(java.lang.String propertyName,
java.lang.String outPropertyName,
int outPropertyType,
java.math.BigDecimal outDefaultNumber,
java.util.Date outDefaultDate,
java.lang.String outDefaultString)
Builds an OutPropertyUpdateComponentModel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(java.lang.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.
|
java.util.Date |
getDateValue()
Gets the date value.
|
int |
getMaxChildCount()
Gets the maximum child count (1).
|
java.math.BigDecimal |
getNumberValue()
Gets the number value.
|
java.lang.String |
getOutPropertyName()
Gets the out property name.
|
int |
getOutPropertyType()
Gets the out property type.
|
java.lang.String |
getPropertyName()
Gets the property name.
|
java.util.List<com.highdeal.pnr.hci.PropertyReference> |
getPropertyReferences()
Returns the list of the properties that are used in this component.
|
java.lang.String |
getStringValue()
Gets the string value.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setDateValue(java.util.Date d)
Sets the date value.
|
void |
setNumberValue(java.math.BigDecimal number)
Sets the number value.
|
void |
setOutPropertyName(java.lang.String name)
Sets the out property name.
|
void |
setOutPropertyType(int type)
Sets the out property type.
|
void |
setPropertyName(java.lang.String name)
Sets the property name.
|
void |
setStringValue(java.lang.String s)
Sets the string value.
|
addCharacterData, findRootRateModel, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, getPropertyNames, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParentpublic OutPropertyUpdateComponentModel()
public OutPropertyUpdateComponentModel(java.lang.String propertyName,
java.lang.String outPropertyName,
int outPropertyType,
java.math.BigDecimal outDefaultNumber,
java.util.Date outDefaultDate,
java.lang.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(java.lang.String name)
name - the property name.public java.lang.String getPropertyName()
public void setOutPropertyName(java.lang.String name)
name - the out property name.public java.lang.String getOutPropertyName()
public void setOutPropertyType(int type)
type - the out property.public int getOutPropertyType()
public java.math.BigDecimal getNumberValue()
public void setNumberValue(java.math.BigDecimal number)
number - the number value.public java.lang.String getStringValue()
public void setStringValue(java.lang.String s)
s - the string value.public java.util.Date getDateValue()
public void setDateValue(java.util.Date d)
d - the date value.public int getMaxChildCount()
getMaxChildCount in class RateComponentModelpublic boolean checkValidity()
checkValidity in class RateComponentModelpublic java.util.List<com.highdeal.pnr.hci.PropertyReference> getPropertyReferences()
RateComponentModelgetPropertyReferences in class RateComponentModelpublic void addChild(java.lang.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