Class Contact

java.lang.Object
org.bgerp.model.base.Id
ru.bgcrm.plugin.bgbilling.proto.model.dispatch.Contact
All Implemented Interfaces:
Serializable, Id<Integer>

public class Contact extends Id
Contact for sending messages
See Also:
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • setValue

      public void setValue(String value)
      Parameters:
      value - the contact value
    • getValue

      public String getValue()
      Returns:
      the contact value
    • getValueForSend

      public String getValueForSend()
      Returns:
      the contact value to send
    • getValueForView

      public String 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

      public String toString()
      Overrides:
      toString in class Object
    • getDefaultValue

      public String getDefaultValue()
      Returns:
      the default contact value
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Parameters:
      defaultValue - the default contact value