Class ContractTariff
java.lang.Object
bitel.billing.server.contract.bean.ContractTariff
- All Implemented Interfaces:
java.io.Serializable
public class ContractTariff
extends java.lang.Object
implements java.io.Serializable
Deprecated.
Объект сопоставляет договору тарифный план на определенный период.
Соответствует записи из таблицы contract_tariff.
Содержит следующие поля, устанавливаемые и получаемые с помощью
get/set функций:
private int ID - код записи в таблице
private int contractID - код договора
private int tariffPlanID - код тарифного плана
private Calendar date1 - начало периода действия
private Calendar date2 - окончание
private String comment = "" - комментарий
...
private int replacedFromTariff - если запись получена через смену тарифа с
кого-то другого, то здесь сохраняется id предыдущей записи (чтобы можно было
откатить, например)
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ContractTariff()Deprecated. -
Method Summary
Modifier and Type Method Description static ContractTarifffromNew(ContractTariff contractTariff)Deprecated.java.lang.StringgetComment()Deprecated.intgetContractId()Deprecated.java.util.CalendargetDate1()Deprecated.java.util.CalendargetDate2()Deprecated.intgetEntityId()Deprecated.intgetEntityMid()Deprecated.intgetId()Deprecated.intgetPos()Deprecated.intgetReplacedFromContractTariffId()Deprecated.intgetTariffPlanId()Deprecated.voidsetComment(java.lang.String comment)Deprecated.voidsetContractId(int contractId)Deprecated.voidsetDate1(java.util.Calendar date1)Deprecated.voidsetDate2(java.util.Calendar date2)Deprecated.voidsetEntityId(int entityId)Deprecated.voidsetEntityMid(int entityMid)Deprecated.voidsetId(int id)Deprecated.voidsetPos(int pos)Deprecated.voidsetReplacedFromContractTariffId(int replacedFromContractTariffId)Deprecated.voidsetTariffPlanId(int tariffPlanId)Deprecated.static ContractTarifftoNew(ContractTariff contractTariff)Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ContractTariff
public ContractTariff()Deprecated.
-
-
Method Details
-
getEntityMid
public int getEntityMid()Deprecated. -
setEntityMid
public void setEntityMid(int entityMid)Deprecated. -
getEntityId
public int getEntityId()Deprecated. -
setEntityId
public void setEntityId(int entityId)Deprecated. -
getPos
public int getPos()Deprecated. -
setPos
public void setPos(int pos)Deprecated. -
getContractId
public int getContractId()Deprecated. -
setContractId
public void setContractId(int contractId)Deprecated. -
setTariffPlanId
public void setTariffPlanId(int tariffPlanId)Deprecated. -
setDate2
public void setDate2(java.util.Calendar date2)Deprecated. -
setDate1
public void setDate1(java.util.Calendar date1)Deprecated. -
setComment
public void setComment(java.lang.String comment)Deprecated. -
setId
public void setId(int id)Deprecated. -
getDate1
public java.util.Calendar getDate1()Deprecated. -
getDate2
public java.util.Calendar getDate2()Deprecated. -
getTariffPlanId
public int getTariffPlanId()Deprecated. -
getComment
public java.lang.String getComment()Deprecated. -
getId
public int getId()Deprecated. -
getReplacedFromContractTariffId
public int getReplacedFromContractTariffId()Deprecated. -
setReplacedFromContractTariffId
public void setReplacedFromContractTariffId(int replacedFromContractTariffId)Deprecated. -
toNew
Deprecated. -
fromNew
Deprecated.
-
ContractTariffDaoandContractTariff