wt.epm.ndi.impl
Class EPMNDReferenceLinkImpl

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

class EPMNDReferenceLinkImpl
extends Object
implements EPMNDReferenceLink

Constructs EPNNDReferenceLink from persistant EPMReferenceLink and other side DocumentMaster Supported API: false Extendable: false


Field Summary
private  NDICache cache
           
private  EPMReferenceLink link
           
private  DocumentMaster otherSide
           
 
Fields inherited from interface wt.epm.ndi.EPMNDObject
OBJECT_ID
 
Constructor Summary
protected EPMNDReferenceLinkImpl(NDICache cache, EPMReferenceLink link, DocumentMaster otherSide)
          Constructs new instance of EPMNDReferenceLink
 
Method Summary
 Collection getAttributes()
          Gets attributes.
 ObjectIdentifier getObjectId()
          Gets the value of the attribute: objectId.
 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.
 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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

link

private EPMReferenceLink link

otherSide

private DocumentMaster otherSide

cache

private NDICache cache
Constructor Detail

EPMNDReferenceLinkImpl

protected EPMNDReferenceLinkImpl(NDICache cache,
                                 EPMReferenceLink link,
                                 DocumentMaster otherSide)
Constructs new instance of EPMNDReferenceLink

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

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

getToSubType

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

Specified by:
getToSubType in interface EPMNDDependency
Returns:
String
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