Class AbstractContactInfoModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    PhoneContactInfoModel

    public class AbstractContactInfoModel
    extends ItemModel
    Generated model class for type AbstractContactInfo first defined at extension core.

    Abstract contact info.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _USER2CONTACTINFOS

        public static final java.lang.String _USER2CONTACTINFOS
        Generated relation code constant for relation User2ContactInfos defining source attribute user in extension core.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of AbstractContactInfo.code attribute defined at extension core.
        See Also:
        Constant Field Values
      • USERPOS

        public static final java.lang.String USERPOS
        Generated constant - Attribute key of AbstractContactInfo.userPOS attribute defined at extension core.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of AbstractContactInfo.user attribute defined at extension core.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractContactInfoModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractContactInfoModel​(java.lang.String _code,
                                        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
        _user - initial attribute declared by type AbstractContactInfo at extension core
      • AbstractContactInfoModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractContactInfoModel​(java.lang.String _code,
                                        ItemModel _owner,
                                        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
        _user - initial attribute declared by type AbstractContactInfo at extension core
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the AbstractContactInfo.code attribute defined at extension core.
        Returns:
        the code - Specify code for that contact info.
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the AbstractContactInfo.user attribute defined at extension core.
        Returns:
        the user
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of AbstractContactInfo.code attribute defined at extension core.
        Parameters:
        value - the code - Specify code for that contact info.
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of AbstractContactInfo.user attribute defined at extension core.
        Parameters:
        value - the user