public class OdiLogicalAgent extends AbstractOdiEntity implements IMasterOdiEntity
OdiPhysicalAgent
for a given OdiContext.| Constructor and Description |
|---|
OdiLogicalAgent(java.lang.String pAgentName)
Create a new
OdiLogicalAgent. |
| Modifier and Type | Method and Description |
|---|---|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
java.lang.Number |
getLogicalAgentId()
This
OdiLogicalAgent ID. |
java.lang.String |
getName()
Obtains this
OdiLogicalAgent's name. |
OdiPhysicalAgent |
getPhysicalAgent(OdiContext pContext)
|
IRepositoryEntity |
getSecurityContainer() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFirstDate, getFirstUser, getLastDate, getLastUser, isInstanceLevelSecurityNeededgetGlobalId, getParentpublic OdiLogicalAgent(java.lang.String pAgentName)
OdiLogicalAgent.pAgentName - the agent namepublic java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId() method. The necessity for the
getInternalId() abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
getInternalId in interface IRepositoryEntitypublic java.lang.String getName()
OdiLogicalAgent's name.getName in interface IOdiEntitypublic java.lang.Number getLogicalAgentId()
OdiLogicalAgent ID.public OdiPhysicalAgent getPhysicalAgent(OdiContext pContext)
pContext - a contextOdiPhysicalAgent mapped to this, or null if nonepublic IRepositoryEntity getSecurityContainer()
getSecurityContainer in interface IRepositoryEntity