atg.epub.project
Interface AgentDef

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface AgentDef
extends javax.ejb.EJBLocalObject

Class AgentDef ("Deployment Agent Definition")

Property Summaries

Property Name Property Type Property Description Flags
creationTime Timestamp Creation time R, W, Cch, Qry
description String Description R, W, Cch, Qry
destinationMap Map   R, W, Cch, CoM, Mv, Qry
displayName String Name R, W, Cch, Qry
excludeAssetDestinations Set Exclude Asset Destinations R, W, Cch, CoM, Mv, Qry
id String Agent ID R, W, Cch, Id, Qry, Exp
includeAssetDestinations Set Include Asset Destinations R, W, Cch, CoM, Mv, Qry
principalAssets Set Principal Assets R, W, Cch, CoM, Mv, Qry
surrogateFor AgentDef Agent for which this agent acts as a surrogate R, W, Cch, Qry
transport TransportDef Transport Definition R, W, CsD, Cch, Qry, Req
version int Version R, Cch, Qry, Exp

Flags Key:R=readable, W=writable, CsD=cascadeDelete, CsI=cascadeInsert, CsU=cascadeUpdate, Cch=cacheable, CoM=collectionOrMap, Drv=derived, Id=idProperty, Mv=multivalued, Qry=queryable, Req=required, Exp=expert, Hdn=hidden, Prf=preferred

Property Details

Property creationTime ("Creation time"): Timestamp

Property description ("Description"): String

Property destinationMap: Map

Property displayName ("Name"): String

Property excludeAssetDestinations ("Exclude Asset Destinations"): Set

Property id ("Agent ID"): String

Property includeAssetDestinations ("Include Asset Destinations"): Set

Property principalAssets ("Principal Assets"): Set

Property surrogateFor ("Agent for which this agent acts as a surrogate"): AgentDef

Property transport ("Transport Definition"): TransportDef

Property version ("Version"): int


Method Summary
 boolean _isMutable()
          Returns true if the item is mutable.
 void copyTo(AgentDef destination)
          Copies the property values of this instance to another instance of the same data type.
 java.sql.Timestamp getCreationTime()
          Getter for property creationTime ("Creation time")
 java.lang.String getDescription()
          Getter for property description ("Description")
 java.util.Map getDestinationMap()
          Getter for property destinationMap
 java.lang.String getDisplayName()
          Getter for property displayName ("Name")
 java.util.Set getExcludeAssetDestinations()
          Getter for property excludeAssetDestinations ("Exclude Asset Destinations")
 boolean getHasVersion()
          Returns true if the value of property version is null.
 java.lang.String getId()
          Getter for property id ("Agent ID")
 java.util.Set getIncludeAssetDestinations()
          Getter for property includeAssetDestinations ("Include Asset Destinations")
 java.util.Set getPrincipalAssets()
          Getter for property principalAssets ("Principal Assets")
 AgentDef getSurrogateFor()
          Getter for property surrogateFor ("Agent for which this agent acts as a surrogate")
 TransportDef getTransport()
          Getter for property transport ("Transport Definition")
 int getVersion()
          Getter for property version ("Version")
 boolean isRemoved()
          Returns true if the underlying object has been removed.
 void prepareInstanceForWrite()
          This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write.
 void setCreationTime(java.sql.Timestamp value)
          Setter for property creationTime ("Creation time").
 void setDescription(java.lang.String value)
          Setter for property description ("Description").
 void setDestinationMap(java.util.Map value)
          Setter for property destinationMap .
 void setDisplayName(java.lang.String value)
          Setter for property displayName ("Name").
 void setExcludeAssetDestinations(java.util.Set value)
          Setter for property excludeAssetDestinations ("Exclude Asset Destinations").
 void setId(java.lang.String value)
          Setter for property id ("Agent ID").
 void setIncludeAssetDestinations(java.util.Set value)
          Setter for property includeAssetDestinations ("Include Asset Destinations").
 void setPrincipalAssets(java.util.Set value)
          Setter for property principalAssets ("Principal Assets").
 void setSurrogateFor(AgentDef value)
          Setter for property surrogateFor ("Agent for which this agent acts as a surrogate").
 void setTransport(TransportDef value)
          Setter for property transport ("Transport Definition").
 void writeInstance()
          This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getCreationTime

java.sql.Timestamp getCreationTime()
                                   throws javax.ejb.EJBException
Getter for property creationTime ("Creation time")

Returns:
Timestamp
Throws:
javax.ejb.EJBException

setCreationTime

void setCreationTime(java.sql.Timestamp value)
                     throws javax.ejb.EJBException
Setter for property creationTime ("Creation time"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Timestamp
Throws:
javax.ejb.EJBException

getDescription

java.lang.String getDescription()
                                throws javax.ejb.EJBException
Getter for property description ("Description")

Returns:
String
Throws:
javax.ejb.EJBException

setDescription

void setDescription(java.lang.String value)
                    throws javax.ejb.EJBException
Setter for property description ("Description"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getDestinationMap

java.util.Map getDestinationMap()
                                throws javax.ejb.EJBException
Getter for property destinationMap

Returns:
Map
Throws:
javax.ejb.EJBException

setDestinationMap

void setDestinationMap(java.util.Map value)
                       throws javax.ejb.EJBException
Setter for property destinationMap . The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Map
Throws:
javax.ejb.EJBException

getDisplayName

java.lang.String getDisplayName()
                                throws javax.ejb.EJBException
Getter for property displayName ("Name")

Returns:
String
Throws:
javax.ejb.EJBException

setDisplayName

void setDisplayName(java.lang.String value)
                    throws javax.ejb.EJBException
Setter for property displayName ("Name"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getExcludeAssetDestinations

java.util.Set getExcludeAssetDestinations()
                                          throws javax.ejb.EJBException
Getter for property excludeAssetDestinations ("Exclude Asset Destinations")

Returns:
Set
Throws:
javax.ejb.EJBException

setExcludeAssetDestinations

void setExcludeAssetDestinations(java.util.Set value)
                                 throws javax.ejb.EJBException
Setter for property excludeAssetDestinations ("Exclude Asset Destinations"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Set
Throws:
javax.ejb.EJBException

getId

java.lang.String getId()
                       throws javax.ejb.EJBException
Getter for property id ("Agent ID")

Returns:
String
Throws:
javax.ejb.EJBException

setId

void setId(java.lang.String value)
           throws javax.ejb.EJBException
Setter for property id ("Agent ID"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - String
Throws:
javax.ejb.EJBException

getIncludeAssetDestinations

java.util.Set getIncludeAssetDestinations()
                                          throws javax.ejb.EJBException
Getter for property includeAssetDestinations ("Include Asset Destinations")

Returns:
Set
Throws:
javax.ejb.EJBException

setIncludeAssetDestinations

void setIncludeAssetDestinations(java.util.Set value)
                                 throws javax.ejb.EJBException
Setter for property includeAssetDestinations ("Include Asset Destinations"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Set
Throws:
javax.ejb.EJBException

getPrincipalAssets

java.util.Set getPrincipalAssets()
                                 throws javax.ejb.EJBException
Getter for property principalAssets ("Principal Assets")

Returns:
Set
Throws:
javax.ejb.EJBException

setPrincipalAssets

void setPrincipalAssets(java.util.Set value)
                        throws javax.ejb.EJBException
Setter for property principalAssets ("Principal Assets"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - Set
Throws:
javax.ejb.EJBException

getSurrogateFor

AgentDef getSurrogateFor()
                         throws javax.ejb.EJBException
Getter for property surrogateFor ("Agent for which this agent acts as a surrogate")

Returns:
AgentDef
Throws:
javax.ejb.EJBException

setSurrogateFor

void setSurrogateFor(AgentDef value)
                     throws javax.ejb.EJBException
Setter for property surrogateFor ("Agent for which this agent acts as a surrogate"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - AgentDef
Throws:
javax.ejb.EJBException

getTransport

TransportDef getTransport()
                          throws javax.ejb.EJBException
Getter for property transport ("Transport Definition")

Returns:
TransportDef
Throws:
javax.ejb.EJBException

setTransport

void setTransport(TransportDef value)
                  throws javax.ejb.EJBException
Setter for property transport ("Transport Definition"). The writeInstance() method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite() method may need to be called before making any changes.

Parameters:
value - TransportDef
Throws:
javax.ejb.EJBException

getVersion

int getVersion()
               throws javax.ejb.EJBException
Getter for property version ("Version")

Returns:
int
Throws:
javax.ejb.EJBException

getHasVersion

boolean getHasVersion()
                      throws javax.ejb.EJBException
Returns true if the value of property version is null.

Throws:
javax.ejb.EJBException

isRemoved

boolean isRemoved()
                  throws javax.ejb.EJBException
Returns true if the underlying object has been removed. False otherwise.

Throws:
javax.ejb.EJBException

copyTo

void copyTo(AgentDef destination)
            throws javax.ejb.EJBException
Copies the property values of this instance to another instance of the same data type. Only properties that are both readable and writable are copied. Each property is copied by calling the getter method on the source instance and setting the result in the destination instance using the setter method.

Throws:
javax.ejb.EJBException

writeInstance

void writeInstance()
                   throws javax.ejb.EJBException
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. Changes might be made visible before calling this method, but this is not guaranteed until this method is called.

Throws:
javax.ejb.EJBException

prepareInstanceForWrite

void prepareInstanceForWrite()
                             throws javax.ejb.EJBException
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. This must be called before that first read.

Throws:
javax.ejb.EJBException

_isMutable

boolean _isMutable()
Returns true if the item is mutable. Items are only mutable after a setter method or prepareInstanceForWrite is called.