Class EPMReferenceLink
- All Implemented Interfaces:
Externalizable,Serializable,wt.epm._EPMObject,EPMObject,_EPMDependencyLink,EPMDependencyLink,wt.esi._Releasable,Releasable,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.archive._Archiveable,wt.fc.archive.Archiveable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged
An IteratedReferenceLink associates an Iterated object with a Mastered object. Logically, an EPMReferenceLink associates an EPMDocument with a EPMDocumentMaster. Since the DocumentMaster interface does not extend Mastered, an EPMReferenceLink must associate an EPMDocument with a Master.
Use the newEPMReferenceLink static factory method(s), not
the EPMReferenceLink 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:
-
Field Summary
Fields inherited from interface wt.epm.structure._EPMDependencyLink
AS_STORED_CHILD_NAME, DEP_TYPE, REQUIRED, UNIQUE_LINK_ID, UNIQUE_NDID -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: AUTHORING_APPLICATION.Gets the value of the attribute: OWNER_APPLICATION.protected voidinitialize(EPMDocument referencedBy, EPMDocumentMaster references, String asStoredChildName, int depType, EPMReferenceType referenceType) Supports initialization, following construction of an instance.protected voidinitialize(EPMDocument referencedBy, EPMDependencyMaster references, String asStoredChildName, int depType) Deprecated.static EPMReferenceLinknewEPMReferenceLink(EPMDocument referencedBy, EPMDocumentMaster references) Constructs an EPMReferenceLink.static EPMReferenceLinknewEPMReferenceLink(EPMDocument referencedBy, EPMDocumentMaster references, String asStoredChildName, int depType, EPMReferenceType referenceType) Constructs an EPMReferenceLink.static EPMReferenceLinknewEPMReferenceLink(EPMDocument referencedBy, EPMDependencyMaster references) Deprecated.static EPMReferenceLinknewEPMReferenceLink(EPMDocument referencedBy, EPMDependencyMaster references, String asStoredChildName, int depType) Deprecated.voidsetAsStoredChildName(String a_AsStoredChildName) Sets the value of the attribute: AS_STORED_CHILD_NAME.voidsetDepType(int a_DepType) Sets the value of the attribute: DEP_TYPE.voidsetRequired(boolean a_Required) Sets the value of the attribute: REQUIRED.Methods inherited from class wt.epm.structure._EPMReferenceLink
getAsStoredChildName, getDepType, getUniqueLinkID, getUniqueNDId, isRequired, setUniqueLinkID, setUniqueNDIdMethods inherited from class wt.fc.ObjectToObjectLink
appendJoinCriteria, duplicate, getAllObjects, getJoinValues, getRoleObject, setRoleObjectMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
Method Details
-
newEPMReferenceLink
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy, EPMDependencyMaster references) throws WTException Deprecated.Constructs an EPMReferenceLink.By default, this constructor sets 'asStoredChildName' to null, 'depType' to UNSPECIFIED and 'required' to false.
Supported API: true- Parameters:
referencedBy-references-- Returns:
- EPMReferenceLink
- Throws:
WTException
-
newEPMReferenceLink
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy, EPMDependencyMaster references, String asStoredChildName, int depType) throws WTException Deprecated.Constructs an EPMReferenceLink.By default, this constructor sets 'required' to false.
Supported API: true- Parameters:
referencedBy-references-asStoredChildName-depType-- Returns:
- EPMReferenceLink
- Throws:
WTException
-
initialize
protected void initialize(EPMDocument referencedBy, EPMDependencyMaster references, String asStoredChildName, int depType) throws WTException Deprecated.Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
referencedBy-references-asStoredChildName-depType-- Throws:
WTException
-
newEPMReferenceLink
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy, EPMDocumentMaster references) throws WTException Constructs an EPMReferenceLink.By default, this constructor sets 'required' to false.
Supported API: true- Parameters:
referencedBy-references-- Returns:
- EPMReferenceLink
- Throws:
WTException
-
newEPMReferenceLink
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy, EPMDocumentMaster references, String asStoredChildName, int depType, EPMReferenceType referenceType) throws WTException Constructs an EPMReferenceLink.By default, this constructor sets 'required' to false.
Supported API: true- Parameters:
referencedBy-references-asStoredChildName-depType-referenceType-- Returns:
- EPMReferenceLink
- Throws:
WTException
-
initialize
protected void initialize(EPMDocument referencedBy, EPMDocumentMaster references, String asStoredChildName, int depType, EPMReferenceType referenceType) throws WTException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
referencedBy-references-asStoredChildName-depType-referenceType-- Throws:
WTException
-
setAsStoredChildName
Sets the value of the attribute: AS_STORED_CHILD_NAME. Specifies the name of the "child" document as it was known by the application when it created the dependency link. Applications often internally save the names of documents that they reference. This field enables those applications to find the correct document after it is renamed.
Supported API: true- Specified by:
setAsStoredChildNamein interface_EPMDependencyLink- Overrides:
setAsStoredChildNamein class_EPMReferenceLink- Parameters:
a_AsStoredChildName-- Throws:
WTPropertyVetoException- See Also:
-
setDepType
Sets the value of the attribute: DEP_TYPE. an integer that authoring application may use to designate the type of dependency
Supported API: true- Specified by:
setDepTypein interface_EPMDependencyLink- Overrides:
setDepTypein class_EPMReferenceLink- Parameters:
a_DepType-- Throws:
WTPropertyVetoException- See Also:
-
setRequired
Sets the value of the attribute: REQUIRED. Designates that the authoring application requires the "child" document in order to work with the "parent" document.
Supported API: true- Specified by:
setRequiredin interface_EPMDependencyLink- Overrides:
setRequiredin class_EPMReferenceLink- Parameters:
a_Required-- Throws:
WTPropertyVetoException- See Also:
-
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- Returns:
- EPMApplicationType
-
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- Returns:
- EPMAuthoringAppType
-