|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.ObjectToObjectLink
wt.epm.structure.EPMReferenceLink
public final class EPMReferenceLink
Associates an EPMDocument with a WTDocument or another EPMDocument.
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
| Field Summary |
|---|
| Fields inherited from interface wt.epm.structure.EPMDependencyLink |
|---|
AS_STORED_CHILD_NAME, DEP_TYPE, REQUIRED, UNIQUE_LINK_ID, UNIQUE_NDID |
| Fields inherited from interface wt.epm.EPMObject |
|---|
AUTHORING_APPLICATION, OWNER_APPLICATION |
| Method Summary | |
|---|---|
void |
checkAttributes()
Validate the values of this Persistable object's attributes. |
String |
getAsStoredChildName()
Gets the value of the attribute: AS_STORED_CHILD_NAME. |
EPMAuthoringAppType |
getAuthoringApplication()
Gets the value of the attribute: AUTHORING_APPLICATION. |
int |
getDepType()
Gets the value of the attribute: DEP_TYPE. |
EPMApplicationType |
getOwnerApplication()
Gets the value of the attribute: OWNER_APPLICATION. |
long |
getUniqueLinkID()
Gets the value of the attribute: UNIQUE_LINK_ID. |
String |
getUniqueNDId()
Gets the value of the attribute: UNIQUE_NDID. |
protected void |
initialize(EPMDocument referencedBy,
DocumentMaster references,
String asStoredChildName,
int depType)
Deprecated. |
protected void |
initialize(EPMDocument referencedBy,
EPMDocumentMaster references,
String asStoredChildName,
int depType,
EPMReferenceType referenceType)
Supports initialization, following construction of an instance. |
boolean |
isRequired()
Gets the value of the attribute: REQUIRED. |
static EPMReferenceLink |
newEPMReferenceLink(EPMDocument referencedBy,
DocumentMaster references)
Deprecated. |
static EPMReferenceLink |
newEPMReferenceLink(EPMDocument referencedBy,
DocumentMaster references,
String asStoredChildName,
int depType)
Deprecated. |
static EPMReferenceLink |
newEPMReferenceLink(EPMDocument referencedBy,
EPMDocumentMaster references)
Constructs an EPMReferenceLink. |
static EPMReferenceLink |
newEPMReferenceLink(EPMDocument referencedBy,
EPMDocumentMaster references,
String asStoredChildName,
int depType,
EPMReferenceType referenceType)
Constructs an EPMReferenceLink. |
void |
setAsStoredChildName(String a_AsStoredChildName)
Sets the value of the attribute: AS_STORED_CHILD_NAME. |
void |
setDepType(int a_DepType)
Sets the value of the attribute: DEP_TYPE. |
void |
setRequired(boolean a_Required)
Sets the value of the attribute: REQUIRED. |
void |
setUniqueLinkID(long a_UniqueLinkID)
Sets the value of the attribute: UNIQUE_LINK_ID. |
void |
setUniqueNDId(String a_UniqueNDId)
Sets the value of the attribute: UNIQUE_NDID. |
| 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 |
|---|
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy,
DocumentMaster references)
throws WTException
By default, this constructor sets
'asStoredChildName' to null,
'depType' to UNSPECIFIED and
'required' to false.
Deprecated in 9.0. Link to DocumentMaster no longer supported.
Supported API: true
referencedBy - references -
WTException
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy,
DocumentMaster references,
String asStoredChildName,
int depType)
throws WTException
By default, this constructor sets
'required' to false.
Deprecated in 9.0. Link to DocumentMaster no longer supported.
Supported API: true
referencedBy - references - asStoredChildName - depType -
WTException
protected void initialize(EPMDocument referencedBy,
DocumentMaster references,
String asStoredChildName,
int depType)
throws WTException
referencedBy - references - asStoredChildName - depType -
WTException
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy,
EPMDocumentMaster references)
throws WTException
By default, this constructor sets
'required' to false.
Supported API: true
referencedBy - references -
WTException
public static EPMReferenceLink newEPMReferenceLink(EPMDocument referencedBy,
EPMDocumentMaster references,
String asStoredChildName,
int depType,
EPMReferenceType referenceType)
throws WTException
By default, this constructor sets
'required' to false.
Supported API: true
referencedBy - references - asStoredChildName - depType - referenceType -
WTException
protected void initialize(EPMDocument referencedBy,
EPMDocumentMaster references,
String asStoredChildName,
int depType,
EPMReferenceType referenceType)
throws WTException
referencedBy - references - asStoredChildName - depType - referenceType -
WTExceptionpublic String getAsStoredChildName()
getAsStoredChildName in interface EPMDependencyLink
public void setAsStoredChildName(String a_AsStoredChildName)
throws WTPropertyVetoException
setAsStoredChildName in interface EPMDependencyLinka_AsStoredChildName -
WTPropertyVetoExceptionpublic int getDepType()
getDepType in interface EPMDependencyLink
public void setDepType(int a_DepType)
throws WTPropertyVetoException
setDepType in interface EPMDependencyLinka_DepType -
WTPropertyVetoExceptionpublic boolean isRequired()
isRequired in interface EPMDependencyLink
public void setRequired(boolean a_Required)
throws WTPropertyVetoException
setRequired in interface EPMDependencyLinka_Required -
WTPropertyVetoExceptionpublic long getUniqueLinkID()
getUniqueLinkID in interface EPMDependencyLink
public void setUniqueLinkID(long a_UniqueLinkID)
throws WTPropertyVetoException
setUniqueLinkID in interface EPMDependencyLinka_UniqueLinkID -
WTPropertyVetoExceptionpublic String getUniqueNDId()
getUniqueNDId in interface EPMDependencyLink
public void setUniqueNDId(String a_UniqueNDId)
throws WTPropertyVetoException
setUniqueNDId in interface EPMDependencyLinka_UniqueNDId -
WTPropertyVetoExceptionpublic EPMApplicationType getOwnerApplication()
The parameter is an EPMApplicationType, so that any sort of checking
can be done at run-time.
Supported API: true
getOwnerApplication in interface EPMObjectpublic EPMAuthoringAppType getAuthoringApplication()
The parameter is an EPMAuthoringAppType, so that any sort of checking
can be done at run-time.
Supported API: true
getAuthoringApplication in interface EPMObject
public void checkAttributes()
throws InvalidAttributeException
In particular, this must check that the modifications to the object
were made by an approved application.
Supported API: true
checkAttributes in interface EPMObjectInvalidAttributeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||