Class EPMMemberLink
- All Implemented Interfaces:
Externalizable,Serializable,wt.epm._EPMObject,wt.epm.annotation._EPMStructureAnnotatable,EPMStructureAnnotatable,EPMObject,_EPMDependencyLink,wt.epm.structure._EPMIDSpaceContainer,EPMDependencyLink,wt.epm.structure.EPMIDSpaceContainer,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.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,_Filterable,Filterable,wt.generic._GenericizableLink,wt.generic.GenericizableLink,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.option._ChoiceMappable,wt.option._Expressionable,wt.option._ExpressionAssignable,ChoiceMappable,Expressionable,ExpressionAssignable,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
Use the newEPMMemberLink static factory method(s), not the
EPMMemberLink 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 class wt.epm.structure._EPMMemberLink
ANNOTATED, FIXED, IDENTIFIER, IDENTIFIER_SPACE_NAME, NAME, QUANTITY, SUPPRESSED, TRANSFORMFields inherited from class wt.vc.struct._IteratedUsageLink
USED_BY_ROLE, USES_ROLEFields inherited from interface wt.epm.structure._EPMDependencyLink
AS_STORED_CHILD_NAME, DEP_TYPE, REQUIRED, UNIQUE_LINK_ID, UNIQUE_NDIDFields inherited from interface wt.filter._Filterable
FILTERED_STATUS -
Method Summary
Modifier and TypeMethodDescriptionvoidValidates the attributes on this EPM Member Link.Gets the value of the attribute: AUTHORING_APPLICATION.Gets the value of the attribute: OWNER_APPLICATION.booleanReturns whether or not this member link has a transform.protected voidinitialize(EPMDocument usedBy, EPMDependencyMaster uses, String asStoredChildName, int depType) Supports initialization, following construction of an instance.static EPMMemberLinknewEPMMemberLink(EPMDocument usedBy, EPMDependencyMaster uses) Constructs an EPMMemberLink.static EPMMemberLinknewEPMMemberLink(EPMDocument usedBy, EPMDependencyMaster uses, String asStoredChildName, int depType) Constructs an EPMMemberLink.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.voidsetIdentifier(int a_Identifier) Sets the identifier on this EPMMemberLink.voidsetIdentifier(Integer a_Identifier) Sets the value of the attribute: IDENTIFIER.voidsetRequired(boolean a_Required) Sets the value of the attribute: REQUIRED.voidsetSuppressed(boolean a_Suppressed) Sets the value of the attribute: SUPPRESSED.voidsetTransform(Transform a_Transform) Sets the object for the association that plays role: TRANSFORM.Methods inherited from class wt.epm.structure._EPMMemberLink
getAsStoredChildName, getDepType, getFilteredStatus, getIdentifier, getIdentifierSpaceName, getName, getQuantity, getTransform, getUniqueLinkID, getUniqueNDId, getUsedBy, getUses, isAnnotated, isFixed, isRequired, isSuppressed, setAnnotated, setFilteredStatus, setFixed, setIdentifierSpaceName, setQuantity, setUniqueLinkID, setUniqueNDId, setUsedBy, setUsesMethods inherited from class wt.vc.struct._IteratedUsageLink
setUsedBy, setUsesMethods inherited from class wt.fc.ObjectToObjectLink
appendJoinCriteria, duplicate, getAllObjects, getJoinValues, getRoleObject, setRoleObjectMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.BinaryLink
getLinkInfo, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, setRoleAObject, setRoleBObjectMethods inherited from interface wt.fc.Link
appendJoinCriteria, appendRoleCriteria, getAllObjects, getJoinValues, getRoleIdName, getRoleObject, setRoleObject
-
Method Details
-
setSuppressed
Sets the value of the attribute: SUPPRESSED.
Supported API: true- Overrides:
setSuppressedin class_EPMMemberLink- Parameters:
a_Suppressed-- Throws:
WTPropertyVetoException- See Also:
-
setIdentifier
Sets the value of the attribute: IDENTIFIER. an integer identifier that an application may assign to an EPMMemberLink.
Supported API: true- Overrides:
setIdentifierin class_EPMMemberLink- Parameters:
a_Identifier-- Throws:
WTPropertyVetoException- See Also:
-
setTransform
Sets the object for the association that plays role: TRANSFORM.
Supported API: true- Overrides:
setTransformin class_EPMMemberLink- Parameters:
a_Transform-- Throws:
WTPropertyVetoException- See Also:
-
newEPMMemberLink
public static EPMMemberLink newEPMMemberLink(EPMDocument usedBy, EPMDependencyMaster uses, String asStoredChildName, int depType) throws WTException Constructs an EPMMemberLink.By default, this constructor sets 'required' to false, 'suppressed' to false, 'name' to null, 'identifier' to null, 'quantity' to 1, 'placed' to false and 'transform' to null.
Supported API: true- Parameters:
usedBy-uses-asStoredChildName-depType-- Returns:
- EPMMemberLink
- Throws:
WTException
-
initialize
protected void initialize(EPMDocument usedBy, EPMDependencyMaster uses, String asStoredChildName, int depType) throws WTException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
usedBy-uses-asStoredChildName-depType-- Throws:
WTException
-
newEPMMemberLink
public static EPMMemberLink newEPMMemberLink(EPMDocument usedBy, EPMDependencyMaster uses) throws WTException Constructs an EPMMemberLink.By default, this constructor sets 'asStoredChildName' to null, 'depType' to UNSPECIFIED, 'required' to false, 'suppressed' to false, 'name' to null, 'identifier' to null, 'quantity' to 1, 'placed' to false and 'transform' to null.
Supported API: true- Parameters:
usedBy-uses-- Returns:
- EPMMemberLink
- Throws:
WTException
-
hasTransform
public boolean hasTransform()Returns whether or not this member link has a transform. The application may choose to place the member but not publish its transform. In that case, this method will return false while isPlaced() will return true.
Supported API: true- Returns:
- boolean
-
setIdentifier
Sets the identifier on this EPMMemberLink.
Supported API: true- Parameters:
a_Identifier-- Throws:
WTPropertyVetoException
-
checkAttributes
Validates the attributes on this EPM Member Link.In particular, this method enforces the following rules: a) If a member link has a transform, its quantity must be one and its placed flag must be true.
Supported API: true- Specified by:
checkAttributesin interfaceEPMObject- Specified by:
checkAttributesin interfacePersistable- Overrides:
checkAttributesin classWTObject- Throws:
InvalidAttributeException
-
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_EPMMemberLink- 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_EPMMemberLink- 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_EPMMemberLink- 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
-