com.ptc.windchill.counterpart.metadata.classnode
Class cClassifiableModeledNode
java.lang.Object
com.ptc.windchill.counterpart.metadata.cEntry
com.ptc.windchill.counterpart.metadata.cPrivateClassificationEntry
com.ptc.windchill.counterpart.metadata.cPubMappedEntry
com.ptc.windchill.counterpart.metadata.classnode.cAbstractClassificationNode
com.ptc.windchill.counterpart.metadata.classnode.cClassifiableModeledNode
- All Implemented Interfaces:
- nitidus.sil.be.core.iConflict, nitidus.sil.be.core.iEntryIO, nitidus.sil.be.clf.iPartClassIO, nitidus.sil.be.clf.iPrivateClassificationEntryIO, nitidus.sil.be.clf.iPubMappedEntryIO, nitidus.sil.be.core.iRecordIO, nitidus.sil.be.core.iRevisionControlledEntryIO, nitidus.sil.be.core.iVetoableEntryIO
- public class cClassifiableModeledNode
- extends cAbstractClassificationNode
Fields inherited from class com.ptc.windchill.counterpart.metadata.cPubMappedEntry |
|
Fields inherited from class com.ptc.windchill.counterpart.metadata.cEntry |
|
Fields inherited from interface nitidus.sil.be.core.iConflict |
ctBadName, ctChild, ctDupName, ctMaxBasicAtt, ctMaxBasicClf, ctMaxBasicData, ctMaxBasicGeneral, ctMaxBasicUnit, ctMaxCfnRelatedData, ctMaxPartsLink621Clf, ctMaxPartsLinkClf, ctMaxSpecialAtt, ctMaxSpecialClf, ctMaxSpecialData, ctMaxSpecialGeneral, ctMaxSpecialUnit, ctMaxUnusedAtt, ctMaxWindchillClf, ctMaxWindchillFatalClf, ctMaxWindchillNonFatalClf, ctMaxWindchillUnit, ctMinBasicAtt, ctMinBasicClf, ctMinBasicData, ctMinBasicGeneral, ctMinBasicUnit, ctMinCfnRelatedData, ctMinPartsLink621Clf, ctMinPartsLinkClf, ctMinSpecialAtt, ctMinSpecialClf, ctMinSpecialData, ctMinSpecialGeneral, ctMinSpecialUnit, ctMinUnusedAtt, ctMinWindchillClf, ctMinWindchillFatalClf, ctMinWindchillNonFatalClf, ctMinWindchillUnit, ctNone, kBasic, kBasicAndAllWindchill, kBasicAndFatalWindchill, kBasicAndPartsLink, kBasicAndPartsLinkIncluding621, kFull, kMaxIgnorableConflict, kUnused |
Methods inherited from class com.ptc.windchill.counterpart.metadata.cPrivateClassificationEntry |
compareByNameTo, enrich, getAppSpecific, getChangeDescription, getCurrentMajorRevision, getCurrentMinorRevision, getDescription, getLocalizedNames, getLockedBy, getRevisions, isApproved, isCurrentRevision, isDescriptionEqualTo, setAppSpecific |
Methods inherited from class com.ptc.windchill.counterpart.metadata.cEntry |
acknowledgeChange, compareByIDTo, enrich, getConflict, getID, isDeleted, isInConflict, isInUse, isModified, isNew, isObsolete, isReadOnly, needsIDUpdate, setConflict, setID, setInUse, setObsolete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nitidus.sil.be.clf.iPubMappedEntryIO |
getCustomDUNS, getPreferredName, getPublicID, getShortDefinition |
Methods inherited from interface nitidus.sil.be.clf.iPrivateClassificationEntryIO |
getAppSpecific, getDescription, getLocalizedNames |
Methods inherited from interface nitidus.sil.be.core.iVetoableEntryIO |
isApproved, isCurrentRevision |
Methods inherited from interface nitidus.sil.be.core.iRevisionControlledEntryIO |
getChangeDescription, getCurrentMajorRevision, getCurrentMinorRevision, getLockedBy, getRevisions |
Methods inherited from interface nitidus.sil.be.core.iEntryIO |
getID |
Methods inherited from interface nitidus.sil.be.core.iRecordIO |
isDeleted, isModified, isNew, isReadOnly |
kInternalFolderName
private static final String kInternalFolderName
- See Also:
- Constant Field Values
fClassificationStruct
private ClassificationStructDefaultView fClassificationStruct
fChildRef
private String[] fChildRef
fProperties
private String[] fProperties
fTreeName
private cLocalizedStringIO[] fTreeName
fOPMOverride
private HashMap fOPMOverride
fPictureURL
private String fPictureURL
fWindchillType
private String fWindchillType
cClassifiableModeledNode
public cClassifiableModeledNode(nitidus.sil.be.clf.iPartClass partClass,
ClassificationStructDefaultView struct,
String[] childRef)
cClassifiableModeledNode
public cClassifiableModeledNode(String id,
ClassificationStructDefaultView struct,
String[] childRef,
String parentID)
- Constructor for classification structure that exists in Windchill but not in uploaded bundle.
In the absence of an iPartClass object we need an id and we fabricate name, description, and treename.
getChildRef
public String[] getChildRef()
- Specified by:
getChildRef
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getChildRef
in class cAbstractClassificationNode
- See Also:
iPartClassIO
setChildRef
void setChildRef(String[] childRef)
- see cAbstractClassificationNode
- Specified by:
setChildRef
in class cAbstractClassificationNode
getTreeName
public nitidus.sil.be.core.iLocalizedStringIO[] getTreeName()
- Specified by:
getTreeName
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getTreeName
in class cAbstractClassificationNode
- See Also:
iPartClassIO
getProperties
public String[] getProperties()
- Specified by:
getProperties
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getProperties
in class cAbstractClassificationNode
- See Also:
iPartClassIO
getOPMOverride
public nitidus.sil.be.clf.iOPMOverrideIO[] getOPMOverride()
- Specified by:
getOPMOverride
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getOPMOverride
in class cAbstractClassificationNode
- See Also:
iPartClassIO
setOPMOverride
void setOPMOverride(HashMap opmOverrideMap)
- see cAbstractClassificationNode
- Specified by:
setOPMOverride
in class cAbstractClassificationNode
getPictureURL
public String getPictureURL()
- Specified by:
getPictureURL
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getPictureURL
in class cAbstractClassificationNode
- See Also:
iPartClassIO
getWindchillType
public String getWindchillType()
- Specified by:
getWindchillType
in interface nitidus.sil.be.clf.iPartClassIO
- Specified by:
getWindchillType
in class cAbstractClassificationNode
- See Also:
iPartClassIO
enrich
public void enrich(nitidus.sil.be.clf.iPartClassIO cpPartClassIO,
nitidus.sil.be.clf.iMasterClassificationManager cfnManager,
HashMap propertiesMap)
- Overrides:
enrich
in class cAbstractClassificationNode
addChildClass
public final void addChildClass(String classRef)
removeChildClass
public final void removeChildClass(String classRef)
getClassificationStruct
private final ClassificationStructDefaultView getClassificationStruct()
refreshClassificationStruct
private final ClassificationStructDefaultView refreshClassificationStruct()
throws WTException
- Throws:
WTException
delete
public void delete()
throws WTException
- Deletes struct and it's class referenece attribute
- Throws:
WTException
create
public static ClassificationStructDefaultView create(nitidus.sil.be.clf.iPartClass cpPartClass,
cAttributeOrganizer rootFolder)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
createChild
protected final ClassificationNodeDefaultView createChild(ClassificationNodeDefaultView childView,
ClassificationNodeDefaultView parentView)
throws WTException,
WTPropertyVetoException,
RemoteException
- Throws:
WTException
WTPropertyVetoException
RemoteException
update
public void update(nitidus.sil.be.clf.iPartClass cpPartClass)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
identicalTo
public boolean identicalTo(nitidus.sil.be.clf.iPartClass cpPartClass)
throws WTException
- Throws:
WTException
createReferenceAttributeDefinition
private static ReferenceDefView createReferenceAttributeDefinition(nitidus.sil.be.clf.iPartClass cpPartClass,
cAttributeOrganizer rootFolder)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException