Class AbstractFacilityModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.AbstractFacilityModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccommodationFacilityModel, PropertyFacilityModel

public class AbstractFacilityModel extends ItemModel
Generated model class for type AbstractFacility first defined at extension travelservices.

This type represents a facility that could be extended by a property or accommodation facility.

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 model type code constant.
    static final String
    Generated constant - Attribute key of AbstractFacility.active attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of AbstractFacility.code attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of AbstractFacility.longDescription attribute defined at extension travelservices.
    static final String
    Generated constant - Attribute key of AbstractFacility.shortDescription attribute defined at extension travelservices.

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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the AbstractFacility.active attribute defined at extension travelservices.
    Generated method - Getter of the AbstractFacility.code attribute defined at extension travelservices.
    Generated method - Getter of the AbstractFacility.longDescription attribute defined at extension travelservices.
    Generated method - Getter of the AbstractFacility.shortDescription attribute defined at extension travelservices.
    Generated method - Getter of the AbstractFacility.shortDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of AbstractFacility.active attribute defined at extension travelservices.
    void
    setCode(String value)
    Generated method - Setter of AbstractFacility.code attribute defined at extension travelservices.
    void
    Generated method - Setter of AbstractFacility.longDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of AbstractFacility.shortDescription attribute defined at extension travelservices.
    void
    Generated method - Setter of AbstractFacility.shortDescription attribute defined at extension travelservices.

    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:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of AbstractFacility.code attribute defined at extension travelservices.
      See Also:
    • ACTIVE

      public static final String ACTIVE
      Generated constant - Attribute key of AbstractFacility.active attribute defined at extension travelservices.
      See Also:
    • SHORTDESCRIPTION

      public static final String SHORTDESCRIPTION
      Generated constant - Attribute key of AbstractFacility.shortDescription attribute defined at extension travelservices.
      See Also:
    • LONGDESCRIPTION

      public static final String LONGDESCRIPTION
      Generated constant - Attribute key of AbstractFacility.longDescription attribute defined at extension travelservices.
      See Also:
  • Constructor Details

    • AbstractFacilityModel

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

      public AbstractFacilityModel(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
    • AbstractFacilityModel

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

    • getActive

      @Accessor(qualifier="active", type=GETTER) public Boolean getActive()
      Generated method - Getter of the AbstractFacility.active attribute defined at extension travelservices.
      Returns:
      the active
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the AbstractFacility.code attribute defined at extension travelservices.
      Returns:
      the code
    • getLongDescription

      @Accessor(qualifier="longDescription", type=GETTER) public String getLongDescription()
      Generated method - Getter of the AbstractFacility.longDescription attribute defined at extension travelservices.
      Returns:
      the longDescription
    • getShortDescription

      @Accessor(qualifier="shortDescription", type=GETTER) public String getShortDescription()
      Generated method - Getter of the AbstractFacility.shortDescription attribute defined at extension travelservices.
      Returns:
      the shortDescription
    • getShortDescription

      @Accessor(qualifier="shortDescription", type=GETTER) public String getShortDescription(Locale loc)
      Generated method - Getter of the AbstractFacility.shortDescription attribute defined at extension travelservices.
      Parameters:
      loc - the value localization key
      Returns:
      the shortDescription
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setActive

      @Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
      Generated method - Setter of AbstractFacility.active attribute defined at extension travelservices.
      Parameters:
      value - the active
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of AbstractFacility.code attribute defined at extension travelservices.
      Parameters:
      value - the code
    • setLongDescription

      @Accessor(qualifier="longDescription", type=SETTER) public void setLongDescription(String value)
      Generated method - Setter of AbstractFacility.longDescription attribute defined at extension travelservices.
      Parameters:
      value - the longDescription
    • setShortDescription

      @Accessor(qualifier="shortDescription", type=SETTER) public void setShortDescription(String value)
      Generated method - Setter of AbstractFacility.shortDescription attribute defined at extension travelservices.
      Parameters:
      value - the shortDescription
    • setShortDescription

      @Accessor(qualifier="shortDescription", type=SETTER) public void setShortDescription(String value, Locale loc)
      Generated method - Setter of AbstractFacility.shortDescription attribute defined at extension travelservices.
      Parameters:
      value - the shortDescription
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language