Class AbstractDestinationModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ConsumedDestinationModel, ExposedDestinationModel

    public class AbstractDestinationModel
    extends ItemModel
    Generated model class for type AbstractDestination first defined at extension apiregistryservices.

    Abstract service configuration for webservices and events.

    See Also:
    Serialized Form
    • 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 java.lang.String _DESTINATIONTARGET2DESTINATION
      Generated relation code constant for relation DestinationTarget2Destination defining source attribute destinationTarget in extension apiregistryservices.
      static java.lang.String _ENDPOINT2ABSTRACTDESTINATION
      Generated relation code constant for relation Endpoint2AbstractDestination defining source attribute endpoint in extension apiregistryservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIVE
      Generated constant - Attribute key of AbstractDestination.active attribute defined at extension apiregistryservices.
      static java.lang.String ADDITIONALPROPERTIES
      Generated constant - Attribute key of AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
      static java.lang.String CREDENTIAL
      Generated constant - Attribute key of AbstractDestination.credential attribute defined at extension apiregistryservices.
      static java.lang.String DESTINATIONTARGET
      Generated constant - Attribute key of AbstractDestination.destinationTarget attribute defined at extension apiregistryservices.
      static java.lang.String ENDPOINT
      Generated constant - Attribute key of AbstractDestination.endpoint attribute defined at extension apiregistryservices.
      static java.lang.String ID
      Generated constant - Attribute key of AbstractDestination.id attribute defined at extension apiregistryservices.
      static java.lang.String URL
      Generated constant - Attribute key of AbstractDestination.url attribute defined at extension apiregistryservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractDestinationModel()
      Generated constructor - Default constructor for generic creation.
      AbstractDestinationModel​(DestinationTargetModel _destinationTarget, EndpointModel _endpoint, java.lang.String _id, ItemModel _owner, java.lang.String _url)
      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
      AbstractDestinationModel​(DestinationTargetModel _destinationTarget, EndpointModel _endpoint, java.lang.String _id, java.lang.String _url)
      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
      AbstractDestinationModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
      Generated method - Getter of the AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
      AbstractCredentialModel getCredential()
      Generated method - Getter of the AbstractDestination.credential attribute defined at extension apiregistryservices.
      DestinationTargetModel getDestinationTarget()
      Generated method - Getter of the AbstractDestination.destinationTarget attribute defined at extension apiregistryservices.
      EndpointModel getEndpoint()
      Generated method - Getter of the AbstractDestination.endpoint attribute defined at extension apiregistryservices.
      java.lang.String getId()
      Generated method - Getter of the AbstractDestination.id attribute defined at extension apiregistryservices.
      java.lang.String getUrl()
      Generated method - Getter of the AbstractDestination.url attribute defined at extension apiregistryservices.
      boolean isActive()
      Generated method - Getter of the AbstractDestination.active attribute defined at extension apiregistryservices.
      void setActive​(boolean value)
      Generated method - Setter of AbstractDestination.active attribute defined at extension apiregistryservices.
      void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> value)
      Generated method - Setter of AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
      void setCredential​(AbstractCredentialModel value)
      Generated method - Setter of AbstractDestination.credential attribute defined at extension apiregistryservices.
      void setDestinationTarget​(DestinationTargetModel value)
      Generated method - Initial setter of AbstractDestination.destinationTarget attribute defined at extension apiregistryservices.
      void setEndpoint​(EndpointModel value)
      Generated method - Setter of AbstractDestination.endpoint attribute defined at extension apiregistryservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of AbstractDestination.id attribute defined at extension apiregistryservices.
      void setUrl​(java.lang.String value)
      Generated method - Setter of AbstractDestination.url attribute defined at extension apiregistryservices.
      • 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 Detail

      • _TYPECODE

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

        public static final java.lang.String _ENDPOINT2ABSTRACTDESTINATION
        Generated relation code constant for relation Endpoint2AbstractDestination defining source attribute endpoint in extension apiregistryservices.
        See Also:
        Constant Field Values
      • _DESTINATIONTARGET2DESTINATION

        public static final java.lang.String _DESTINATIONTARGET2DESTINATION
        Generated relation code constant for relation DestinationTarget2Destination defining source attribute destinationTarget in extension apiregistryservices.
        See Also:
        Constant Field Values
      • ID

        public static final java.lang.String ID
        Generated constant - Attribute key of AbstractDestination.id attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • URL

        public static final java.lang.String URL
        Generated constant - Attribute key of AbstractDestination.url attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • ACTIVE

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of AbstractDestination.active attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • ADDITIONALPROPERTIES

        public static final java.lang.String ADDITIONALPROPERTIES
        Generated constant - Attribute key of AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • CREDENTIAL

        public static final java.lang.String CREDENTIAL
        Generated constant - Attribute key of AbstractDestination.credential attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • ENDPOINT

        public static final java.lang.String ENDPOINT
        Generated constant - Attribute key of AbstractDestination.endpoint attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
      • DESTINATIONTARGET

        public static final java.lang.String DESTINATIONTARGET
        Generated constant - Attribute key of AbstractDestination.destinationTarget attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractDestinationModel

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

        public AbstractDestinationModel​(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
      • AbstractDestinationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractDestinationModel​(DestinationTargetModel _destinationTarget,
                                        EndpointModel _endpoint,
                                        java.lang.String _id,
                                        java.lang.String _url)
        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:
        _destinationTarget - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _endpoint - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _id - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _url - initial attribute declared by type AbstractDestination at extension apiregistryservices
      • AbstractDestinationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractDestinationModel​(DestinationTargetModel _destinationTarget,
                                        EndpointModel _endpoint,
                                        java.lang.String _id,
                                        ItemModel _owner,
                                        java.lang.String _url)
        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:
        _destinationTarget - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _endpoint - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _id - initial attribute declared by type AbstractDestination at extension apiregistryservices
        _owner - initial attribute declared by type Item at extension core
        _url - initial attribute declared by type AbstractDestination at extension apiregistryservices
    • Method Detail

      • getAdditionalProperties

        @Accessor(qualifier="additionalProperties",
                  type=GETTER)
        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalProperties()
        Generated method - Getter of the AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
        Returns:
        the additionalProperties - Map of Additional Properties
      • getCredential

        @Accessor(qualifier="credential",
                  type=GETTER)
        public AbstractCredentialModel getCredential()
        Generated method - Getter of the AbstractDestination.credential attribute defined at extension apiregistryservices.
        Returns:
        the credential - Credential
      • getDestinationTarget

        @Accessor(qualifier="destinationTarget",
                  type=GETTER)
        public DestinationTargetModel getDestinationTarget()
        Generated method - Getter of the AbstractDestination.destinationTarget attribute defined at extension apiregistryservices.
        Returns:
        the destinationTarget - Destination Target
      • getEndpoint

        @Accessor(qualifier="endpoint",
                  type=GETTER)
        public EndpointModel getEndpoint()
        Generated method - Getter of the AbstractDestination.endpoint attribute defined at extension apiregistryservices.
        Returns:
        the endpoint - Endpoint
      • getId

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.String getId()
        Generated method - Getter of the AbstractDestination.id attribute defined at extension apiregistryservices.
        Returns:
        the id - Unique Id
      • getUrl

        @Accessor(qualifier="url",
                  type=GETTER)
        public java.lang.String getUrl()
        Generated method - Getter of the AbstractDestination.url attribute defined at extension apiregistryservices.
        Returns:
        the url - Destination URL
      • isActive

        @Accessor(qualifier="active",
                  type=GETTER)
        public boolean isActive()
        Generated method - Getter of the AbstractDestination.active attribute defined at extension apiregistryservices.
        Returns:
        the active - Active Flag. Indicates whether the destination can be used.
      • setActive

        @Accessor(qualifier="active",
                  type=SETTER)
        public void setActive​(boolean value)
        Generated method - Setter of AbstractDestination.active attribute defined at extension apiregistryservices.
        Parameters:
        value - the active - Active Flag. Indicates whether the destination can be used.
      • setAdditionalProperties

        @Accessor(qualifier="additionalProperties",
                  type=SETTER)
        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> value)
        Generated method - Setter of AbstractDestination.additionalProperties attribute defined at extension apiregistryservices.
        Parameters:
        value - the additionalProperties - Map of Additional Properties
      • setCredential

        @Accessor(qualifier="credential",
                  type=SETTER)
        public void setCredential​(AbstractCredentialModel value)
        Generated method - Setter of AbstractDestination.credential attribute defined at extension apiregistryservices.
        Parameters:
        value - the credential - Credential
      • setDestinationTarget

        @Accessor(qualifier="destinationTarget",
                  type=SETTER)
        public void setDestinationTarget​(DestinationTargetModel value)
        Generated method - Initial setter of AbstractDestination.destinationTarget attribute defined at extension apiregistryservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the destinationTarget - Destination Target
      • setEndpoint

        @Accessor(qualifier="endpoint",
                  type=SETTER)
        public void setEndpoint​(EndpointModel value)
        Generated method - Setter of AbstractDestination.endpoint attribute defined at extension apiregistryservices.
        Parameters:
        value - the endpoint - Endpoint
      • setId

        @Accessor(qualifier="id",
                  type=SETTER)
        public void setId​(java.lang.String value)
        Generated method - Initial setter of AbstractDestination.id attribute defined at extension apiregistryservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the id - Unique Id
      • setUrl

        @Accessor(qualifier="url",
                  type=SETTER)
        public void setUrl​(java.lang.String value)
        Generated method - Setter of AbstractDestination.url attribute defined at extension apiregistryservices.
        Parameters:
        value - the url - Destination URL