Class GeneratedAbstractDestination

    • Constructor Detail

      • GeneratedAbstractDestination

        public GeneratedAbstractDestination()
    • Method Detail

      • isActive

        public java.lang.Boolean isActive​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.active attribute.
        Returns:
        the active - Active Flag. Indicates whether the destination can be used.
      • isActive

        public java.lang.Boolean isActive()
        Generated method - Getter of the AbstractDestination.active attribute.
        Returns:
        the active - Active Flag. Indicates whether the destination can be used.
      • isActiveAsPrimitive

        public boolean isActiveAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.active attribute.
        Returns:
        the active - Active Flag. Indicates whether the destination can be used.
      • isActiveAsPrimitive

        public boolean isActiveAsPrimitive()
        Generated method - Getter of the AbstractDestination.active attribute.
        Returns:
        the active - Active Flag. Indicates whether the destination can be used.
      • setActive

        public void setActive​(SessionContext ctx,
                              java.lang.Boolean value)
        Generated method - Setter of the AbstractDestination.active attribute.
        Parameters:
        value - the active - Active Flag. Indicates whether the destination can be used.
      • setActive

        public void setActive​(java.lang.Boolean value)
        Generated method - Setter of the AbstractDestination.active attribute.
        Parameters:
        value - the active - Active Flag. Indicates whether the destination can be used.
      • setActive

        public void setActive​(SessionContext ctx,
                              boolean value)
        Generated method - Setter of the AbstractDestination.active attribute.
        Parameters:
        value - the active - Active Flag. Indicates whether the destination can be used.
      • setActive

        public void setActive​(boolean value)
        Generated method - Setter of the AbstractDestination.active attribute.
        Parameters:
        value - the active - Active Flag. Indicates whether the destination can be used.
      • getAllAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.String> getAllAdditionalProperties​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.additionalProperties attribute.
        Returns:
        the additionalProperties - Map of Additional Properties
      • getAllAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.String> getAllAdditionalProperties()
        Generated method - Getter of the AbstractDestination.additionalProperties attribute.
        Returns:
        the additionalProperties - Map of Additional Properties
      • setAllAdditionalProperties

        public void setAllAdditionalProperties​(SessionContext ctx,
                                               java.util.Map<java.lang.String,​java.lang.String> value)
        Generated method - Setter of the AbstractDestination.additionalProperties attribute.
        Parameters:
        value - the additionalProperties - Map of Additional Properties
      • setAllAdditionalProperties

        public void setAllAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.String> value)
        Generated method - Setter of the AbstractDestination.additionalProperties attribute.
        Parameters:
        value - the additionalProperties - Map of Additional Properties
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getCredential

        public AbstractCredential getCredential​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.credential attribute.
        Returns:
        the credential - Credential
      • getCredential

        public AbstractCredential getCredential()
        Generated method - Getter of the AbstractDestination.credential attribute.
        Returns:
        the credential - Credential
      • setCredential

        public void setCredential​(SessionContext ctx,
                                  AbstractCredential value)
        Generated method - Setter of the AbstractDestination.credential attribute.
        Parameters:
        value - the credential - Credential
      • setCredential

        public void setCredential​(AbstractCredential value)
        Generated method - Setter of the AbstractDestination.credential attribute.
        Parameters:
        value - the credential - Credential
      • getDestinationTarget

        public DestinationTarget getDestinationTarget​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.destinationTarget attribute.
        Returns:
        the destinationTarget - Destination Target
      • getDestinationTarget

        public DestinationTarget getDestinationTarget()
        Generated method - Getter of the AbstractDestination.destinationTarget attribute.
        Returns:
        the destinationTarget - Destination Target
      • setDestinationTarget

        protected void setDestinationTarget​(SessionContext ctx,
                                            DestinationTarget value)
        Generated method - Setter of the AbstractDestination.destinationTarget attribute.
        Parameters:
        value - the destinationTarget - Destination Target
      • setDestinationTarget

        protected void setDestinationTarget​(DestinationTarget value)
        Generated method - Setter of the AbstractDestination.destinationTarget attribute.
        Parameters:
        value - the destinationTarget - Destination Target
      • getEndpoint

        public Endpoint getEndpoint​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.endpoint attribute.
        Returns:
        the endpoint - Endpoint
      • getEndpoint

        public Endpoint getEndpoint()
        Generated method - Getter of the AbstractDestination.endpoint attribute.
        Returns:
        the endpoint - Endpoint
      • setEndpoint

        public void setEndpoint​(SessionContext ctx,
                                Endpoint value)
        Generated method - Setter of the AbstractDestination.endpoint attribute.
        Parameters:
        value - the endpoint - Endpoint
      • setEndpoint

        public void setEndpoint​(Endpoint value)
        Generated method - Setter of the AbstractDestination.endpoint attribute.
        Parameters:
        value - the endpoint - Endpoint
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.id attribute.
        Returns:
        the id - Unique Id
      • getId

        public java.lang.String getId()
        Generated method - Getter of the AbstractDestination.id attribute.
        Returns:
        the id - Unique Id
      • setId

        protected void setId​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the AbstractDestination.id attribute.
        Parameters:
        value - the id - Unique Id
      • setId

        protected void setId​(java.lang.String value)
        Generated method - Setter of the AbstractDestination.id attribute.
        Parameters:
        value - the id - Unique Id
      • getUrl

        public java.lang.String getUrl​(SessionContext ctx)
        Generated method - Getter of the AbstractDestination.url attribute.
        Returns:
        the url - Destination URL
      • getUrl

        public java.lang.String getUrl()
        Generated method - Getter of the AbstractDestination.url attribute.
        Returns:
        the url - Destination URL
      • setUrl

        public void setUrl​(SessionContext ctx,
                           java.lang.String value)
        Generated method - Setter of the AbstractDestination.url attribute.
        Parameters:
        value - the url - Destination URL
      • setUrl

        public void setUrl​(java.lang.String value)
        Generated method - Setter of the AbstractDestination.url attribute.
        Parameters:
        value - the url - Destination URL