wt.epm.ndi.impl
Class EPMNDTopGenericImpl

java.lang.Object
  extended bywt.epm.ndi.impl.EPMNDDocumentImpl
      extended bywt.epm.ndi.impl.EPMNDTopGenericImpl
All Implemented Interfaces:
EPMNDDocument, EPMNDObject, EPMNDTopGeneric

class EPMNDTopGenericImpl
extends EPMNDDocumentImpl
implements EPMNDTopGeneric

Constructs EPNNDTopGeneric from persistant Top generic EPMDocument. Uses cache in EPMNeutralData. Supported API: false Extendable: false


Nested Class Summary
(package private)  class EPMNDDocumentImpl.EPMNDReferenceControlImpl
           
 
Field Summary
(package private)  NDICache cache
           
(package private)  EPMDocument doc
           
 
Fields inherited from interface wt.epm.ndi.EPMNDObject
OBJECT_ID
 
Constructor Summary
(package private) EPMNDTopGenericImpl(NDICache cache, EPMDocument topGeneric)
           
 
Method Summary
 Collection getAttributes()
          Gets attributes.
 EPMAuthoringAppVersion getAuthoringApplicationVersion()
          Gets the value of the attribute: authoringApplicationVersion.
 String getCadName()
          Gets the value of the attribute: cadName.
 WTContainer getContainer()
          Gets the value of the attribute: container.
 int getDbKeySize()
          Gets the value of the attribute: dbKeySize.
 QuantityUnit getDefaultUnit()
          Gets defaultUnit.
 Collection getDependencies()
          Gets dependencies.
 EPMNDFamilyTable getFamilyTable()
          Gets the object for the association that plays role: familyTable.
 ObjectIdentifier getIterationObjectId()
          Gets the value of the attribute: iterationObjectId.
 ObjectIdentifier getMasterObjectId()
          Gets the value of the attribute: masterObjectId.
 String getName()
          Gets the value of the attribute: name.
 String getNumber()
          Gets the value of the attribute: number.
 ObjectIdentifier getObjectId()
          Gets the value of the attribute: objectId.
 WTOrganization getOrganization()
          Gets the value of the attribute: organization.
 EPMNDReferenceControl getReferenceControl()
          Gets the object for the association that plays role: referenceControl.
 int getRevNum()
          Gets the value of the attribute: revNum; [optional]
 String getSubType()
          Gets the value of the attribute: subType; [optional]
 String getType()
          Gets the value of the attribute: DocumentType.
 int getUpdateCounter()
          Gets the value of the attribute: updateCounter; Returns update counter for ND document.
 boolean isVerified()
          Gets the value of the attribute: verified; [optional]
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.epm.ndi.EPMNDDocument
getAttributes, getAuthoringApplicationVersion, getCadName, getContainer, getDbKeySize, getDefaultUnit, getDependencies, getIterationObjectId, getMasterObjectId, getName, getNumber, getOrganization, getReferenceControl, getRevNum, getSubType, getType, getUpdateCounter, isVerified
 
Methods inherited from interface wt.epm.ndi.EPMNDObject
getObjectId
 

Field Detail

cache

NDICache cache

doc

EPMDocument doc
Constructor Detail

EPMNDTopGenericImpl

EPMNDTopGenericImpl(NDICache cache,
                    EPMDocument topGeneric)
Method Detail

getFamilyTable

public EPMNDFamilyTable getFamilyTable()
                                throws WTException
Description copied from interface: EPMNDTopGeneric
Gets the object for the association that plays role: familyTable.

Supported API: true

Specified by:
getFamilyTable in interface EPMNDTopGeneric
Returns:
EPMNDFamilyTable
Throws:
WTException

toString

public String toString()

getCadName

public String getCadName()
                  throws WTException
Gets the value of the attribute: cadName.

Specified by:
getCadName in interface EPMNDDocument
Returns:
String
Throws:
WTException

getMasterObjectId

public ObjectIdentifier getMasterObjectId()
                                   throws WTException
Gets the value of the attribute: masterObjectId.

Specified by:
getMasterObjectId in interface EPMNDDocument
Returns:
ObjectIdentifier
Throws:
WTException

getObjectId

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

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

getIterationObjectId

public ObjectIdentifier getIterationObjectId()
                                      throws WTException
Gets the value of the attribute: iterationObjectId.

Specified by:
getIterationObjectId in interface EPMNDDocument
Returns:
ObjectIdentifier
Throws:
WTException

getAuthoringApplicationVersion

public EPMAuthoringAppVersion getAuthoringApplicationVersion()
                                                      throws WTException
Gets the value of the attribute: authoringApplicationVersion.

Specified by:
getAuthoringApplicationVersion in interface EPMNDDocument
Returns:
EPMAuthoringAppVersion
Throws:
WTException

getNumber

public String getNumber()
                 throws WTException
Gets the value of the attribute: number.

Specified by:
getNumber in interface EPMNDDocument
Returns:
String
Throws:
WTException

getName

public String getName()
               throws WTException
Gets the value of the attribute: name.

Specified by:
getName in interface EPMNDDocument
Returns:
String
Throws:
WTException

getType

public String getType()
               throws WTException
Gets the value of the attribute: DocumentType.

Specified by:
getType in interface EPMNDDocument
Returns:
String
Throws:
WTException

getSubType

public String getSubType()
                  throws WTException
Gets the value of the attribute: subType; [optional]

Specified by:
getSubType in interface EPMNDDocument
Returns:
String
Throws:
WTException

getRevNum

public int getRevNum()
              throws WTException
Gets the value of the attribute: revNum; [optional]

Specified by:
getRevNum in interface EPMNDDocument
Returns:
int
Throws:
WTException

isVerified

public boolean isVerified()
                   throws WTException
Gets the value of the attribute: verified; [optional]

Specified by:
isVerified in interface EPMNDDocument
Returns:
boolean
Throws:
WTException

getContainer

public WTContainer getContainer()
                         throws WTException
Gets the value of the attribute: container.

Specified by:
getContainer in interface EPMNDDocument
Returns:
WTContainer
Throws:
WTException

getOrganization

public WTOrganization getOrganization()
                               throws WTException
Gets the value of the attribute: organization.

Specified by:
getOrganization in interface EPMNDDocument
Returns:
WTOrganization
Throws:
WTException

getDbKeySize

public int getDbKeySize()
                 throws WTException
Gets the value of the attribute: dbKeySize.

Specified by:
getDbKeySize in interface EPMNDDocument
Returns:
int
Throws:
WTException

getAttributes

public Collection getAttributes()
                         throws WTException
Gets attributes.

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

getDefaultUnit

public QuantityUnit getDefaultUnit()
                            throws WTException
Gets defaultUnit.

Specified by:
getDefaultUnit in interface EPMNDDocument
Returns:
QuantityUnit
Throws:
WTException

getDependencies

public Collection getDependencies()
                           throws WTException
Gets dependencies.

Specified by:
getDependencies in interface EPMNDDocument
Returns:
Collection
Throws:
WTException

getReferenceControl

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

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

getUpdateCounter

public int getUpdateCounter()
                     throws WTException
Description copied from interface: EPMNDDocument
Gets the value of the attribute: updateCounter; Returns update counter for ND document. If ND document update counter different then EPMDocument update counter overridable conflict will be generated. If ND document update counter equals -1 upload service ignore it value.

Supported API: true

Specified by:
getUpdateCounter in interface EPMNDDocument
Returns:
int
Throws:
WTException