com.ptc.windchill.counterpart.metadata.attribute
Class cReferenceIBADefinition

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.attribute.cAbstractAttributeDefinition
                  extended bycom.ptc.windchill.counterpart.metadata.attribute.cBasicIBADefinition
                      extended bycom.ptc.windchill.counterpart.metadata.attribute.cReferenceIBADefinition
All Implemented Interfaces:
nitidus.sil.be.core.iConflict, nitidus.sil.be.core.iEntryIO, nitidus.sil.be.clf.iPartPropertyIO, nitidus.sil.be.clf.iPrivateClassificationEntryIO, nitidus.sil.be.clf.iPropertyConstants, nitidus.sil.be.clf.iPubMappedEntryIO, nitidus.sil.be.core.iRecordIO, nitidus.sil.be.clf.iReferenceTypeIO, nitidus.sil.be.core.iRevisionControlledEntryIO, nitidus.sil.be.core.iVetoableEntryIO

public class cReferenceIBADefinition
extends cBasicIBADefinition


Nested Class Summary
 
Nested classes inherited from class com.ptc.windchill.counterpart.metadata.attribute.cBasicIBADefinition
 
Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private  nitidus.sil.be.core.iLocalizedStringIO[] fRefBackwardVerb
           
private  String fRefClassRef
           
private  String fRefPropertyRef
           
private  String fWindchillReferencedClassName
           
private static DebugWriter LOG
           
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.attribute.cBasicIBADefinition
fAttributeDefinition
 
Fields inherited from class com.ptc.windchill.counterpart.metadata.attribute.cAbstractAttributeDefinition
 
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.clf.iPropertyConstants
kMaxLevel, kMaxType, kMinLevel, kMinType, levelMax, levelMin, levelNom, levelNtolAbs, levelNtolPer, levelPattern, levelPlain, levelPtolAbs, levelPtolPer, levelTolAbs, levelTolPer, levelTyp, typeAttachmentReference, typeBoolean, typeInteger, typeReal, typeRecordReference, typeString, typeTimestamp, typeURL, typeVirtual, upgradeDown, upgradeNone, upgradeUp
 
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
cReferenceIBADefinition(ReferenceDefView attr)
           
 
Method Summary
static AttributeDefDefaultView create(nitidus.sil.be.clf.iPartProperty cpPartProperty, cAttributeOrganizer folder)
           
 AbstractValueView[] createValues(nitidus.sil.be.clf.iOverridablePropertyMetadata opm)
          creates the array of AbstractValueView objects
protected  void createValueView(String strval, String refClassType, String refAttrName, ArrayList arr)
           
 void enrich(nitidus.sil.be.clf.iPartPropertyIO cpPartPropertyIO)
           
 void enrichRefClassRef(String refClassRef)
           
 nitidus.sil.be.core.iLocalizedStringIO[] getRefBackwardVerb()
           
 String getRefClassRef()
           
 String getRefPropertyRef()
           
 String getWindchillReferencedClassName()
           
 void update(nitidus.sil.be.clf.iPartProperty cpPartProperty, cAttributeOrganizer folder)
           
 
Methods inherited from class com.ptc.windchill.counterpart.metadata.attribute.cBasicIBADefinition
canDelete, canUpdate, createAllowedValuesConstraint, createImmutableConstraint, createRangeConstraint, createSingleValueConstraint, createValueRequiredConstraint, createValueView, delete, enrichNewBoolean, fillDefaultView, getAlias, getAttributeDefinition, getColumns, getCounterPartTypeFromJavaClass, getDataUnitsName, getDataUnitsRef, getOPMBase, getParentObjectID, getQuantityOfMeasureRef, getType, getUpgradeDirection, hasSameTypeAs, identicalTo, isWindchillIBA, preUpdate, updateID
 
Methods inherited from class com.ptc.windchill.counterpart.metadata.attribute.cAbstractAttributeDefinition
getVirtualLinkRef, getVirtualSourceRef, isCatalogHelper, isCatalogIndexed, isVirtualDirectionIn
 
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

fWindchillReferencedClassName

private String fWindchillReferencedClassName

fRefClassRef

private String fRefClassRef

fRefPropertyRef

private String fRefPropertyRef

fRefBackwardVerb

private nitidus.sil.be.core.iLocalizedStringIO[] fRefBackwardVerb

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

cReferenceIBADefinition

public cReferenceIBADefinition(ReferenceDefView attr)
                        throws WTException,
                               WTPropertyVetoException
Method Detail

getRefClassRef

public String getRefClassRef()
Specified by:
getRefClassRef in interface nitidus.sil.be.clf.iReferenceTypeIO
Overrides:
getRefClassRef in class cBasicIBADefinition
See Also:
iReferenceTypeIO

getWindchillReferencedClassName

public String getWindchillReferencedClassName()

getRefPropertyRef

public String getRefPropertyRef()
Specified by:
getRefPropertyRef in interface nitidus.sil.be.clf.iReferenceTypeIO
Overrides:
getRefPropertyRef in class cBasicIBADefinition
See Also:
iReferenceTypeIO

getRefBackwardVerb

public nitidus.sil.be.core.iLocalizedStringIO[] getRefBackwardVerb()
Specified by:
getRefBackwardVerb in interface nitidus.sil.be.clf.iReferenceTypeIO
Overrides:
getRefBackwardVerb in class cBasicIBADefinition
See Also:
iReferenceTypeIO

create

public static AttributeDefDefaultView create(nitidus.sil.be.clf.iPartProperty cpPartProperty,
                                             cAttributeOrganizer folder)
                                      throws WTException,
                                             WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

update

public void update(nitidus.sil.be.clf.iPartProperty cpPartProperty,
                   cAttributeOrganizer folder)
            throws WTException,
                   WTPropertyVetoException
Overrides:
update in class cBasicIBADefinition
Throws:
WTException
WTPropertyVetoException

createValues

public final AbstractValueView[] createValues(nitidus.sil.be.clf.iOverridablePropertyMetadata opm)
                                       throws WTException,
                                              WTPropertyVetoException
Description copied from class: cBasicIBADefinition
creates the array of AbstractValueView objects

Overrides:
createValues in class cBasicIBADefinition
Returns:
array of type AbstractValueView[]
Throws:
WTException
WTPropertyVetoException

createValueView

protected final void createValueView(String strval,
                                     String refClassType,
                                     String refAttrName,
                                     ArrayList arr)
                              throws WTException,
                                     WTPropertyVetoException
Parameters:
strval - default value
refClassType - WIndchill type, never null, have to be validated in CP
refAttrName - logical ID of MBA, never null, have to be validated in CP
arr - output
Throws:
WTException
WTPropertyVetoException

enrich

public void enrich(nitidus.sil.be.clf.iPartPropertyIO cpPartPropertyIO)
Overrides:
enrich in class cBasicIBADefinition

enrichRefClassRef

public final void enrichRefClassRef(String refClassRef)