|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.RateModel
com.highdeal.pnr.hci.RecurringRateModel
public class RecurringRateModel
This class represents a recurring rate.
| XML Schema Fragment |
<xs:element name="recurring">
<xs:complexType>
<xs:sequence>
<xs:element ref="component" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="propagatedEvent" type="xs:boolean" default="false"/>
<xs:attribute name="frequency" type="xs:string"/>
<xs:attribute name="prepaid" type="xs:boolean" default="false"/>
<xs:attribute name="prepaidPeriods" type="xs:decimal"/>
<xs:attribute name="prorata" type="xs:boolean" default="false"/>
<xs:attribute name="timeUnit" type="xs:decimal"/>
<xs:attribute name="roundingMode" type="xs:decimal"/>
<xs:attribute name="roundingStep" type="xs:decimal"/>
<xs:attribute name="fraction" type="xs:decimal"/>
<xs:attribute name="birthdayPropertyName" type="xs:string" default="default.agreement_creation_date"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="description" type="xs:string"/>
</xs:complexType>
</xs:element> |
| Constructor Summary | |
|---|---|
RecurringRateModel()
Creates a RecurringRateModel with Birthday Date set to default property of agreement creation date. |
|
| Method Summary | |
|---|---|
boolean |
checkValidity()
Returns true if the recurring rate is valid. |
java.lang.String |
getBirthdayPropertyName()
Gets the birthday property name. |
RatingContextDescription |
getContext(ContextualNode child)
Gets the context for the specified child. |
RecurringDateModel |
getFrequency()
Gets the frequency. |
int |
getPrepaidPeriods()
Gets the prepaid periods count. |
ProrataModel |
getProrata()
Gets the prorata model. |
boolean |
isPrepaid()
Tests if the recurring rate is prepaid. |
boolean |
isPropagatedEvent()
Tests if the recurring rate is propagated event. |
boolean |
isProratable()
Tests if the recurring rate is proratable. |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, and of its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the tag beeing processed. |
void |
setBirthdayPropertyName(java.lang.String propertyName)
Sets birthday property name. |
void |
setFrequency(RecurringDateModel frequency)
Sets the frequency. |
void |
setPrepaid(boolean prepaid)
Sets the prepaid flag. |
void |
setPrepaidPeriods(int periods)
Sets the prepaid periods count. |
void |
setPropagatedEvent(boolean propagatedEvent)
Sets the propagated event flag. |
void |
setProrata(ProrataModel p)
Sets the prorata model. |
void |
setProratable(boolean proratable)
Sets the proratable flag. |
| Methods inherited from class com.highdeal.pnr.hci.RateModel |
|---|
addCharacterData, addChild, getDescription, getName, getParent, getRateComponent, inheritedContext, remove, setDescription, setName, setParent, setRateComponent, SqueezeIn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecurringRateModel()
| Method Detail |
|---|
public void setPrepaid(boolean prepaid)
prepaid - true if prepaid, false otherwise.public boolean isPrepaid()
public int getPrepaidPeriods()
public void setPrepaidPeriods(int periods)
periods - the prepaid periods count.public void setProratable(boolean proratable)
proratable - true if proratable, false otherwise.public boolean isProratable()
public void setProrata(ProrataModel p)
p - the prorata model.public ProrataModel getProrata()
public void setFrequency(RecurringDateModel frequency)
frequency - the frequency.public RecurringDateModel getFrequency()
public void setPropagatedEvent(boolean propagatedEvent)
propagatedEvent - true if propagated event, false otherwise.public boolean isPropagatedEvent()
public java.lang.String getBirthdayPropertyName()
public void setBirthdayPropertyName(java.lang.String propertyName)
propertyName - the property name.public boolean checkValidity()
checkValidity in class RateModelpublic RatingContextDescription getContext(ContextualNode child)
child - the child node
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallablesetAttributes in class RateModelatts - the XML attributes of the current tag.public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallablemarshal in class RateModeloutput - the XML output to marshall the object into.
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.