wt.epm.ndi.impl
Class EPMNDMemberLinkImpl

java.lang.Object
  extended bywt.epm.ndi.impl.EPMNDMemberLinkImpl
All Implemented Interfaces:
EPMNDDependency, EPMNDMemberLink, EPMNDObject

class EPMNDMemberLinkImpl
extends Object
implements EPMNDMemberLink

Constructs EPNNDMemberLink from persistant EPMMeberLink and other side EPMDocumentMaster Supported API: false Extendable: false


Nested Class Summary
(package private)  class EPMNDMemberLinkImpl.EPMNDComponentImpl
           
(package private)  class EPMNDMemberLinkImpl.EPMNDReferenceControlImpl
           
(package private)  class EPMNDMemberLinkImpl.EPMNDTransformImpl
           
 
Field Summary
private  NDICache cache
           
private  EPMMemberLink link
           
private  EPMDocumentMaster otherSide
           
 
Fields inherited from interface wt.epm.ndi.EPMNDObject
OBJECT_ID
 
Constructor Summary
protected EPMNDMemberLinkImpl(NDICache cache, EPMMemberLink link, EPMDocumentMaster otherSide)
          Constructs new instance of EPMNDMemberLink
 
Method Summary
 Collection getAttributes()
          Gets attributes.
 EPMNDComponent getComponent()
          Gets the object for the association that plays role: component.
 int getCount()
          Gets the value of the attribute: count.
 ObjectIdentifier getObjectId()
          Gets the value of the attribute: objectId.
 Quantity getQuantity()
          Gets the value of the attribute: unPlaced.
 EPMNDReferenceControl getReferenceControl()
          Gets the object for the association that plays role: referenceControl.
 String getToAsStoredName()
          Gets the value of the attribute: toAsStoredName.
 String getToCadName()
          Gets the value of the attribute: toCadName.
 ObjectIdentifier getToMasterId()
          Gets the value of the attribute: toMasterId.
 String getToSubType()
          Gets the value of the attribute: toSubType.
 String getToTopGenericCadName()
          Gets the value of the attribute: toTopGenericCadName.
 String getToType()
          Gets the value of the attribute: toType.
 EPMNDTransform getTransform()
          Gets the object for the association that plays role: transform.
 int getType()
          Gets the value of the attribute: type.
 String getUniqueId()
          Gets the value of the attribute: uniqueId.
 boolean isRequired()
          Gets the value of the attribute: required.
 boolean isSuppressed()
          Gets the value of the attribute: suppressed.
 boolean isUnPlaced()
          Gets the value of the attribute: unPlaced.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

link

private EPMMemberLink link

otherSide

private EPMDocumentMaster otherSide

cache

private NDICache cache
Constructor Detail

EPMNDMemberLinkImpl

protected EPMNDMemberLinkImpl(NDICache cache,
                              EPMMemberLink link,
                              EPMDocumentMaster otherSide)
Constructs new instance of EPMNDMemberLink

Method Detail

toString

public String toString()

getObjectId

public ObjectIdentifier getObjectId()
                             throws WTException
Gets the value of the attribute: objectId.

Specified by:
getObjectId in interface EPMNDObject
Returns:
ObjectIdentifier
Throws:
WTException

getTransform

public EPMNDTransform getTransform()
                            throws WTException
Gets the object for the association that plays role: transform.

Specified by:
getTransform in interface EPMNDMemberLink
Returns:
EPMNDTransform
Throws:
WTException

getComponent

public EPMNDComponent getComponent()
                            throws WTException
Gets the object for the association that plays role: component.

Specified by:
getComponent in interface EPMNDMemberLink
Returns:
EPMNDComponent
Throws:
WTException

getReferenceControl

public EPMNDReferenceControl getReferenceControl()
                                          throws WTException
Gets the object for the association that plays role: referenceControl.

Specified by:
getReferenceControl in interface EPMNDMemberLink
Returns:
EPMNDReferenceControl
Throws:
WTException

getUniqueId

public String getUniqueId()
                   throws WTException
Gets the value of the attribute: uniqueId.

Specified by:
getUniqueId in interface EPMNDDependency
Returns:
String
Throws:
WTException

getType

public int getType()
            throws WTException
Gets the value of the attribute: type.

Specified by:
getType in interface EPMNDDependency
Returns:
int
Throws:
WTException

getToMasterId

public ObjectIdentifier getToMasterId()
                               throws WTException
Gets the value of the attribute: toMasterId.

Specified by:
getToMasterId in interface EPMNDDependency
Returns:
ObjectIdentifier
Throws:
WTException

getToCadName

public String getToCadName()
                    throws WTException
Gets the value of the attribute: toCadName.

Specified by:
getToCadName in interface EPMNDDependency
Returns:
String
Throws:
WTException

getToTopGenericCadName

public String getToTopGenericCadName()
                              throws WTException
Gets the value of the attribute: toTopGenericCadName.

Throws:
WTException

getToAsStoredName

public String getToAsStoredName()
                         throws WTException
Gets the value of the attribute: toAsStoredName.

Specified by:
getToAsStoredName in interface EPMNDDependency
Returns:
String
Throws:
WTException

getToType

public String getToType()
                 throws WTException
Gets the value of the attribute: toType.

Specified by:
getToType in interface EPMNDDependency
Returns:
String
Throws:
WTException - Description of the Exception

getToSubType

public String getToSubType()
                    throws WTException
Gets the value of the attribute: toSubType.

Specified by:
getToSubType in interface EPMNDDependency
Returns:
String
Throws:
WTException - Description of the Exception

getQuantity

public Quantity getQuantity()
                     throws WTException
Gets the value of the attribute: unPlaced.

Specified by:
getQuantity in interface EPMNDMemberLink
Returns:
Quantity
Throws:
WTException

isUnPlaced

public boolean isUnPlaced()
                   throws WTException
Gets the value of the attribute: unPlaced.

Specified by:
isUnPlaced in interface EPMNDMemberLink
Returns:
boolean
Throws:
WTException

getCount

public int getCount()
             throws WTException
Gets the value of the attribute: count.

Throws:
WTException

isSuppressed

public boolean isSuppressed()
                     throws WTException
Gets the value of the attribute: suppressed.

Specified by:
isSuppressed in interface EPMNDMemberLink
Returns:
boolean
Throws:
WTException

isRequired

public boolean isRequired()
                   throws WTException
Gets the value of the attribute: required.

Specified by:
isRequired in interface EPMNDDependency
Returns:
boolean
Throws:
WTException

getAttributes

public Collection getAttributes()
                         throws WTException
Gets attributes.

Specified by:
getAttributes in interface EPMNDDependency
Returns:
Collection
Throws:
WTException