Class PhoneContactInfoModel

All Implemented Interfaces:
Serializable

public class PhoneContactInfoModel extends AbstractContactInfoModel
Generated model class for type PhoneContactInfo first defined at extension core.

Phone contact info.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • PHONENUMBER

      public static final String PHONENUMBER
      Generated constant - Attribute key of PhoneContactInfo.phoneNumber attribute defined at extension core.
      See Also:
    • TYPE

      public static final String TYPE
      Generated constant - Attribute key of PhoneContactInfo.type attribute defined at extension core.
      See Also:
  • Constructor Details

    • PhoneContactInfoModel

      public PhoneContactInfoModel()
      Generated constructor - Default constructor for generic creation.
    • PhoneContactInfoModel

      public PhoneContactInfoModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • PhoneContactInfoModel

      @Deprecated(since="4.1.1", forRemoval=true) public PhoneContactInfoModel(String _code, String _phoneNumber, PhoneContactInfoType _type, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type AbstractContactInfo at extension core
      _phoneNumber - initial attribute declared by type PhoneContactInfo at extension core
      _type - initial attribute declared by type PhoneContactInfo at extension core
      _user - initial attribute declared by type AbstractContactInfo at extension core
    • PhoneContactInfoModel

      @Deprecated(since="4.1.1", forRemoval=true) public PhoneContactInfoModel(String _code, ItemModel _owner, String _phoneNumber, PhoneContactInfoType _type, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type AbstractContactInfo at extension core
      _owner - initial attribute declared by type Item at extension core
      _phoneNumber - initial attribute declared by type PhoneContactInfo at extension core
      _type - initial attribute declared by type PhoneContactInfo at extension core
      _user - initial attribute declared by type AbstractContactInfo at extension core
  • Method Details

    • getPhoneNumber

      @Accessor(qualifier="phoneNumber", type=GETTER) public String getPhoneNumber()
      Generated method - Getter of the PhoneContactInfo.phoneNumber attribute defined at extension core.
      Returns:
      the phoneNumber
    • getType

      @Accessor(qualifier="type", type=GETTER) public PhoneContactInfoType getType()
      Generated method - Getter of the PhoneContactInfo.type attribute defined at extension core.
      Returns:
      the type
    • setPhoneNumber

      @Accessor(qualifier="phoneNumber", type=SETTER) public void setPhoneNumber(String value)
      Generated method - Setter of PhoneContactInfo.phoneNumber attribute defined at extension core.
      Parameters:
      value - the phoneNumber
    • setType

      @Accessor(qualifier="type", type=SETTER) public void setType(PhoneContactInfoType value)
      Generated method - Setter of PhoneContactInfo.type attribute defined at extension core.
      Parameters:
      value - the type