Class GeneratedAbstractDestination

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
AbstractDestination

public abstract class GeneratedAbstractDestination extends GenericItem
Generated class for type AbstractDestination.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedAbstractDestination

      public GeneratedAbstractDestination()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • isActive

      public 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 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, 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.
    • 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 Map<String,String> getAllAdditionalProperties(SessionContext ctx)
      Generated method - Getter of the AbstractDestination.additionalProperties attribute.
      Returns:
      the additionalProperties - Map of Additional Properties
    • getAllAdditionalProperties

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

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

      public void setAllAdditionalProperties(Map<String,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 String getId(SessionContext ctx)
      Generated method - Getter of the AbstractDestination.id attribute.
      Returns:
      the id - Unique Id
    • getId

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

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

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

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

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

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

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