Class Contact
java.lang.Object
org.bgerp.model.base.Id
ru.bgcrm.plugin.bgbilling.proto.model.dispatch.Contact
- All Implemented Interfaces:
Serializable, Id<Integer>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetValue()voidsetContactTypeId(int contactTypeId) voidsetContractId(int contractId) voidsetDefaultValue(String defaultValue) voidtoString()
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
setValue
- Parameters:
value- the contact value
-
getValue
- Returns:
- the contact value
-
getValueForSend
- Returns:
- the contact value to send
-
getValueForView
- Returns:
- the contact value to display
-
setContactTypeId
public void setContactTypeId(int contactTypeId) - Parameters:
contactTypeId- the contact type ID
-
getContactTypeId
public int getContactTypeId()- Returns:
- the contact type ID
-
getContractId
public int getContractId() -
setContractId
public void setContractId(int contractId) -
toString
-
getDefaultValue
- Returns:
- the default contact value
-
setDefaultValue
- Parameters:
defaultValue- the default contact value
-