Class TuaContactModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaContactModel
All Implemented Interfaces:
Serializable

public class TuaContactModel extends ItemModel
Generated model class for type TuaContact first defined at extension tuadatamodel.

Contact.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation TuaAccount2TuaContact defining source attribute account in extension tuadatamodel.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of TuaContact.account attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.contactMediums attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.contactName attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.contactType attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.endDateTime attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.externalIdentifiers attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.id attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.partyRoleType attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.relatedParty attribute defined at extension tuadatamodel.
    static final String
    Generated constant - Attribute key of TuaContact.startDateTime attribute defined at extension tuadatamodel.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    TuaContactModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the TuaContact.account attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.contactMediums attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.contactName attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.contactType attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.endDateTime attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.externalIdentifiers attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.id attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.partyRoleType attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.relatedParty attribute defined at extension tuadatamodel.
    Generated method - Getter of the TuaContact.startDateTime attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.account attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.contactMediums attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.contactName attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.contactType attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.endDateTime attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.externalIdentifiers attribute defined at extension tuadatamodel.
    void
    setId(String value)
    Generated method - Setter of TuaContact.id attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.partyRoleType attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.relatedParty attribute defined at extension tuadatamodel.
    void
    Generated method - Setter of TuaContact.startDateTime attribute defined at extension tuadatamodel.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String _TUAACCOUNT2TUACONTACT
      Generated relation code constant for relation TuaAccount2TuaContact defining source attribute account in extension tuadatamodel.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of TuaContact.id attribute defined at extension tuadatamodel.
      See Also:
    • CONTACTNAME

      public static final String CONTACTNAME
      Generated constant - Attribute key of TuaContact.contactName attribute defined at extension tuadatamodel.
      See Also:
    • CONTACTTYPE

      public static final String CONTACTTYPE
      Generated constant - Attribute key of TuaContact.contactType attribute defined at extension tuadatamodel.
      See Also:
    • PARTYROLETYPE

      public static final String PARTYROLETYPE
      Generated constant - Attribute key of TuaContact.partyRoleType attribute defined at extension tuadatamodel.
      See Also:
    • STARTDATETIME

      public static final String STARTDATETIME
      Generated constant - Attribute key of TuaContact.startDateTime attribute defined at extension tuadatamodel.
      See Also:
    • ENDDATETIME

      public static final String ENDDATETIME
      Generated constant - Attribute key of TuaContact.endDateTime attribute defined at extension tuadatamodel.
      See Also:
    • RELATEDPARTY

      public static final String RELATEDPARTY
      Generated constant - Attribute key of TuaContact.relatedParty attribute defined at extension tuadatamodel.
      See Also:
    • EXTERNALIDENTIFIERS

      public static final String EXTERNALIDENTIFIERS
      Generated constant - Attribute key of TuaContact.externalIdentifiers attribute defined at extension tuadatamodel.
      See Also:
    • ACCOUNT

      public static final String ACCOUNT
      Generated constant - Attribute key of TuaContact.account attribute defined at extension tuadatamodel.
      See Also:
    • CONTACTMEDIUMS

      public static final String CONTACTMEDIUMS
      Generated constant - Attribute key of TuaContact.contactMediums attribute defined at extension tuadatamodel.
      See Also:
  • Constructor Details

    • TuaContactModel

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

      public TuaContactModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • TuaContactModel

      @Deprecated(since="4.1.1", forRemoval=true) public TuaContactModel(String _id)
      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:
      _id - initial attribute declared by type TuaContact at extension tuadatamodel
    • TuaContactModel

      @Deprecated(since="4.1.1", forRemoval=true) public TuaContactModel(String _id, ItemModel _owner)
      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:
      _id - initial attribute declared by type TuaContact at extension tuadatamodel
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAccount

      @Accessor(qualifier="account", type=GETTER) public TuaAccountModel getAccount()
      Generated method - Getter of the TuaContact.account attribute defined at extension tuadatamodel.
      Returns:
      the account - Account
    • getContactMediums

      @Accessor(qualifier="contactMediums", type=GETTER) public Set<TuaContactMediumModel> getContactMediums()
      Generated method - Getter of the TuaContact.contactMediums attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the contactMediums - The contact mediums of the contact.
    • getContactName

      @Accessor(qualifier="contactName", type=GETTER) public String getContactName()
      Generated method - Getter of the TuaContact.contactName attribute defined at extension tuadatamodel.
      Returns:
      the contactName - Contact name
    • getContactType

      @Accessor(qualifier="contactType", type=GETTER) public TuaContactType getContactType()
      Generated method - Getter of the TuaContact.contactType attribute defined at extension tuadatamodel.
      Returns:
      the contactType - Contact type
    • getEndDateTime

      @Accessor(qualifier="endDateTime", type=GETTER) public Date getEndDateTime()
      Generated method - Getter of the TuaContact.endDateTime attribute defined at extension tuadatamodel.
      Returns:
      the endDateTime - End date time.
    • getExternalIdentifiers

      @Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()
      Generated method - Getter of the TuaContact.externalIdentifiers attribute defined at extension tuadatamodel. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the externalIdentifiers
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the TuaContact.id attribute defined at extension tuadatamodel.
      Returns:
      the id - Unique Identifier
    • getPartyRoleType

      @Accessor(qualifier="partyRoleType", type=GETTER) public String getPartyRoleType()
      Generated method - Getter of the TuaContact.partyRoleType attribute defined at extension tuadatamodel.
      Returns:
      the partyRoleType - Contact type
    • getRelatedParty

      @Accessor(qualifier="relatedParty", type=GETTER) public TuaPartyRoleModel getRelatedParty()
      Generated method - Getter of the TuaContact.relatedParty attribute defined at extension tuadatamodel.
      Returns:
      the relatedParty - Related party role
    • getStartDateTime

      @Accessor(qualifier="startDateTime", type=GETTER) public Date getStartDateTime()
      Generated method - Getter of the TuaContact.startDateTime attribute defined at extension tuadatamodel.
      Returns:
      the startDateTime - Start date time.
    • setAccount

      @Accessor(qualifier="account", type=SETTER) public void setAccount(TuaAccountModel value)
      Generated method - Setter of TuaContact.account attribute defined at extension tuadatamodel.
      Parameters:
      value - the account - Account
    • setContactMediums

      @Accessor(qualifier="contactMediums", type=SETTER) public void setContactMediums(Set<TuaContactMediumModel> value)
      Generated method - Setter of TuaContact.contactMediums attribute defined at extension tuadatamodel.
      Parameters:
      value - the contactMediums - The contact mediums of the contact.
    • setContactName

      @Accessor(qualifier="contactName", type=SETTER) public void setContactName(String value)
      Generated method - Setter of TuaContact.contactName attribute defined at extension tuadatamodel.
      Parameters:
      value - the contactName - Contact name
    • setContactType

      @Accessor(qualifier="contactType", type=SETTER) public void setContactType(TuaContactType value)
      Generated method - Setter of TuaContact.contactType attribute defined at extension tuadatamodel.
      Parameters:
      value - the contactType - Contact type
    • setEndDateTime

      @Accessor(qualifier="endDateTime", type=SETTER) public void setEndDateTime(Date value)
      Generated method - Setter of TuaContact.endDateTime attribute defined at extension tuadatamodel.
      Parameters:
      value - the endDateTime - End date time.
    • setExternalIdentifiers

      @Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value)
      Generated method - Setter of TuaContact.externalIdentifiers attribute defined at extension tuadatamodel.
      Parameters:
      value - the externalIdentifiers
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of TuaContact.id attribute defined at extension tuadatamodel.
      Parameters:
      value - the id - Unique Identifier
    • setPartyRoleType

      @Accessor(qualifier="partyRoleType", type=SETTER) public void setPartyRoleType(String value)
      Generated method - Setter of TuaContact.partyRoleType attribute defined at extension tuadatamodel.
      Parameters:
      value - the partyRoleType - Contact type
    • setRelatedParty

      @Accessor(qualifier="relatedParty", type=SETTER) public void setRelatedParty(TuaPartyRoleModel value)
      Generated method - Setter of TuaContact.relatedParty attribute defined at extension tuadatamodel.
      Parameters:
      value - the relatedParty - Related party role
    • setStartDateTime

      @Accessor(qualifier="startDateTime", type=SETTER) public void setStartDateTime(Date value)
      Generated method - Setter of TuaContact.startDateTime attribute defined at extension tuadatamodel.
      Parameters:
      value - the startDateTime - Start date time.