org.arm4.arm40.transaction
Class ArmApplicationDefinition

java.lang.Object
  extended by org.arm4.arm40.transaction.ArmInterface
      extended by org.arm4.arm40.transaction.ArmApplicationDefinition
All Implemented Interfaces:
ArmApplicationDefinition, ArmInterface

public class ArmApplicationDefinition
extends ArmInterface
implements ArmApplicationDefinition

ArmApplicationDefinition describes the attributes of an application that do not change from one instance of the application to another. It provides an anchor point for associating ArmTransactionDefinition and ArmMetricDefinition objects with the application. It is created with the newArmApplicationDefinition() method of ArmTransactionFactory.

Version:
$Revision$ $Date$
Author:
dcarter

Field Summary
protected  ArmID m_alias
           
protected  ArmID m_id
           
protected  java.lang.String m_name
           
protected  ArmIdentityProperties m_properties
           
 
Fields inherited from class org.arm4.arm40.transaction.ArmInterface
m_errorCode, m_factory
 
Constructor Summary
ArmApplicationDefinition(java.lang.String name, ArmIdentityProperties properties, ArmID id, ArmFactory factory)
          Create the ARM Application Definition.
 
Method Summary
 void destroy()
          Signal to the ARM implementation that the definition and all related definitions within its scope are no longer needed.
 ArmID getID()
           
 ArmIdentityProperties getIdentityProperties()
           
 java.lang.String getName()
           
 
Methods inherited from class org.arm4.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Field Detail

m_name

protected java.lang.String m_name

m_properties

protected ArmIdentityProperties m_properties

m_id

protected ArmID m_id

m_alias

protected ArmID m_alias
Constructor Detail

ArmApplicationDefinition

public ArmApplicationDefinition(java.lang.String name,
                                ArmIdentityProperties properties,
                                ArmID id,
                                ArmFactory factory)
Create the ARM Application Definition.

Parameters:
name -
properties -
id -
factory -
Method Detail

destroy

public void destroy()
Description copied from interface: ArmApplicationDefinition
Signal to the ARM implementation that the definition and all related definitions within its scope are no longer needed.

Specified by:
destroy in interface ArmApplicationDefinition

getName

public java.lang.String getName()
Specified by:
getName in interface ArmApplicationDefinition
Returns:
the name of this application.

getIdentityProperties

public ArmIdentityProperties getIdentityProperties()
Specified by:
getIdentityProperties in interface ArmApplicationDefinition
Returns:
an object describing the identity property metadata associated with this application, or null. See the discussion in ArmIdentityProperties.

getID

public ArmID getID()
Specified by:
getID in interface ArmApplicationDefinition
Returns:
a 16-byte ID associated with the identity of this application definition, or null.