wt.epm.build
Class EPMDerivedRepRule

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.vc.VersionToVersionLink
          extended by wt.epm.build.EPMDerivedRepRule
All Implemented Interfaces:
Externalizable, Serializable, wt.build.BuildRule, EPMObject, wt.fc.archive.Archiveable, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public class EPMDerivedRepRule
extends VersionToVersionLink
implements EPMObject, wt.build.BuildRule, wt.fc.archive.Archiveable, Externalizable

relationship between original and representation

Use the newEPMDerivedRepRule static factory method(s), not the EPMDerivedRepRule constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String BUILD_TARGET_ROLE
          Label for the attribute.
static String UNIQUE_ID
          Label for the attribute; A unique ID, automatically maintained by the system, that distinguishes one build rule from another.
 
Fields inherited from interface wt.epm.EPMObject
AUTHORING_APPLICATION, OWNER_APPLICATION
 
Method Summary
 void checkAttributes()
          Validate the values of this Persistable object's attributes.
 EPMAuthoringAppType getAuthoringApplication()
          Gets the value of the attribute: AUTHORING_APPLICATION.
 wt.build.BuildTarget getBuildTarget()
          Gets the object for the association that plays role: BUILD_TARGET_ROLE.
 EPMApplicationType getOwnerApplication()
          Gets the value of the attribute: OWNER_APPLICATION.
 long getUniqueID()
          Gets the value of the attribute: UNIQUE_ID.
 void setBuildTarget(wt.build.BuildTarget buildTarget)
          Sets the object for the association that plays role: BUILD_TARGET_ROLE.
 void setUniqueID(long a_UniqueID)
          Sets the value of the attribute: UNIQUE_ID.
 
Methods inherited from class wt.vc.VersionToVersionLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleAObject, setRoleBObject, setRoleObject
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BUILD_TARGET_ROLE

public static final String BUILD_TARGET_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

UNIQUE_ID

public static final String UNIQUE_ID
Label for the attribute; A unique ID, automatically maintained by the system, that distinguishes one build rule from another.

Supported API: true

See Also:
Constant Field Values
Method Detail

getBuildTarget

public wt.build.BuildTarget getBuildTarget()
Gets the object for the association that plays role: BUILD_TARGET_ROLE.

Supported API: true

Returns:
BuildTarget

setBuildTarget

public void setBuildTarget(wt.build.BuildTarget buildTarget)
                    throws WTPropertyVetoException
Sets the object for the association that plays role: BUILD_TARGET_ROLE.

Supported API: true

Parameters:
buildTarget -
Throws:
WTPropertyVetoException

getUniqueID

public long getUniqueID()
Gets the value of the attribute: UNIQUE_ID. A unique ID, automatically maintained by the system, that distinguishes one build rule from another.

Supported API: true

Returns:
long

setUniqueID

public void setUniqueID(long a_UniqueID)
                 throws WTPropertyVetoException
Sets the value of the attribute: UNIQUE_ID. A unique ID, automatically maintained by the system, that distinguishes one build rule from another.

Supported API: true

Parameters:
a_UniqueID -
Throws:
WTPropertyVetoException

getOwnerApplication

public EPMApplicationType getOwnerApplication()
Gets the value of the attribute: OWNER_APPLICATION. Indicate that the named application owns the object.

The parameter is an EPMApplicationType, so that any sort of checking can be done at run-time.

Supported API: true

Specified by:
getOwnerApplication in interface EPMObject
Returns:
EPMApplicationType

getAuthoringApplication

public EPMAuthoringAppType getAuthoringApplication()
Gets the value of the attribute: AUTHORING_APPLICATION. Indicates that the named application authored the object.

The parameter is an EPMAuthoringAppType, so that any sort of checking can be done at run-time.

Supported API: true

Specified by:
getAuthoringApplication in interface EPMObject
Returns:
EPMAuthoringAppType

checkAttributes

public void checkAttributes()
                     throws InvalidAttributeException
Validate the values of this Persistable object's attributes.

In particular, this must check that the modifications to the object were made by an approved application.

Supported API: true

Specified by:
checkAttributes in interface EPMObject
Throws:
InvalidAttributeException