wt.epm.structure
Class EPMVariantLink

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.fc.ObjectToObjectLink
          extended by wt.epm.structure.EPMVariantLink
All Implemented Interfaces:
Externalizable, Serializable, EPMObject, wt.fc.archive.Archiveable, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public final class EPMVariantLink
extends ObjectToObjectLink
implements EPMObject, wt.fc.archive.Archiveable, Externalizable

Denotes that an EPMDocument is a variant of another.

Use the newEPMVariantLink static factory method(s), not the EPMVariantLink 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
 
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.
 EPMApplicationType getOwnerApplication()
          Gets the value of the attribute: OWNER_APPLICATION.
 
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
 

Method Detail

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