com.ptc.windchill.counterpart.metadata.classnode
Class cModeledNode

java.lang.Object
  extended bycom.ptc.windchill.counterpart.metadata.cEntry
      extended bycom.ptc.windchill.counterpart.metadata.cPrivateClassificationEntry
          extended bycom.ptc.windchill.counterpart.metadata.cPubMappedEntry
              extended bycom.ptc.windchill.counterpart.metadata.classnode.cAbstractClassificationNode
                  extended bycom.ptc.windchill.counterpart.metadata.classnode.cModeledNode
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 cModeledNode
extends cAbstractClassificationNode


Field Summary
private  String[] fChildRef
           
private  HashMap fOPMOverride
           
private  String fPictureURL
           
private  String[] fProperties
           
private  cLocalizedStringIO[] fTreeName
           
private  String fWindchillType
           
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.classnode.cAbstractClassificationNode
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.cPubMappedEntry
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.cPrivateClassificationEntry
 
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
 
Constructor Summary
cModeledNode(nitidus.sil.be.clf.iPartClass partClass)
           
cModeledNode(nitidus.sil.be.clf.iPartClass rootClass, String[] childRef)
          Special constructor for root node before being enriched.
 
Method Summary
 void addChildClass(String classRef)
           
 void enrich(nitidus.sil.be.clf.iPartClassIO cpPartClassIO, nitidus.sil.be.clf.iMasterClassificationManager cfnManager, HashMap propertiesMap)
           
 String[] getChildRef()
           
private static String[] getChildRef(nitidus.sil.be.clf.iPartClass partClass)
           
 nitidus.sil.be.clf.iOPMOverrideIO[] getOPMOverride()
           
 String getPictureURL()
           
 String[] getProperties()
           
 nitidus.sil.be.core.iLocalizedStringIO[] getTreeName()
           
 String getWindchillType()
           
 void removeChildClass(String classRef)
           
(package private)  void setChildRef(String[] childRef)
          see cAbstractClassificationNode
(package private)  void setOPMOverride(HashMap opmOverrideMap)
          see cAbstractClassificationNode
 
Methods inherited from class com.ptc.windchill.counterpart.metadata.classnode.cAbstractClassificationNode
adjustClassPropertiesAndOPMOverrides, createConstraintsAndDefaultsFromOPMOverrides, getCatalogPropertyOrderRef, getKeywords, getParentID, getPrimaryUnitSystemName, getPrimaryUnitSystemRef, getSchematicURL, isSearchable, reorderStringArray
 
Methods inherited from class com.ptc.windchill.counterpart.metadata.cPubMappedEntry
enrich, getCustomDUNS, getName, getPreferredName, getPublicID, getShortDefinition
 
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
 

Field Detail

fChildRef

private String[] fChildRef

fProperties

private String[] fProperties

fTreeName

private cLocalizedStringIO[] fTreeName

fOPMOverride

private HashMap fOPMOverride

fPictureURL

private String fPictureURL

fWindchillType

private String fWindchillType
Constructor Detail

cModeledNode

public cModeledNode(nitidus.sil.be.clf.iPartClass partClass)

cModeledNode

public cModeledNode(nitidus.sil.be.clf.iPartClass rootClass,
                    String[] childRef)
Special constructor for root node before being enriched. This is semi-artificial - it is not exactly the root in the Bundle nor is it the root in the Delta, but it's name, ID, description, and treename are all taken from the root in the Bundle/Delta depending on whether we are uploading or downloading. Its children will be the nodes representing the set of classification structures that now exist in Windchill - which are the only "modeled" nodes that we know about before enrichment. After enrichment, the children will be the "modeled" children (if any) from the Bundle/Delta, plus any new classification-structure nodes, minus any deleted classification-structure nodes that were formerly among its children. (I don't know that you can actually delete classification structures but just in case ...)

Method Detail

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

getChildRef

private static final String[] getChildRef(nitidus.sil.be.clf.iPartClass partClass)

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)