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

java.lang.Object
  extended bycom.ptc.windchill.counterpart.metadata.classnode.cConstraintsAndDefaults
All Implemented Interfaces:
nitidus.sil.be.clf.iOPMOverrideIO

public class cConstraintsAndDefaults
extends Object
implements nitidus.sil.be.clf.iOPMOverrideIO


Field Summary
private  boolean fIsConstrainedByAllowedValuesLocally
           
private  boolean fIsConstrainedByMaxLengthLocally
           
private  boolean fIsConstrainedByRangeLocally
           
private  boolean fIsImmutableLocally
           
private  boolean fIsSingleValuedLocally
           
private  boolean fIsValueRequiredLocally
           
private  String[] fLocalAllowedValues
           
private  String[] fLocalDefaultValues
           
private  double fLocalLegalRangeHi
           
private  double fLocalLegalRangeLo
           
private  int fLocalMaxStringLength
           
private  String fLocalWindchillLogicalID
           
private  String fPropertyRef
           
 
Constructor Summary
cConstraintsAndDefaults()
           
cConstraintsAndDefaults(nitidus.sil.be.clf.iOPMBase opmBase)
           
cConstraintsAndDefaults(nitidus.sil.be.clf.iOPMOverrideIO opmOverride)
           
cConstraintsAndDefaults(String propertyRef)
           
cConstraintsAndDefaults(String propertyRef, String[] localDefaultValues)
           
 
Method Summary
protected  void addConstraint(cConstraintsAndDefaults containerConstraint)
           
 String[] getLocalAllowedValues()
           
 String[] getLocalDefaultValues()
           
 double getLocalLegalRangeHi()
           
 double getLocalLegalRangeLo()
           
 int getLocalMaxStringLength()
           
 String getLocalWindchillLogicalID()
           
 String getPropertyRef()
           
(package private)  boolean hasDefaultValues(String[] otherDefaultValues)
           
(package private)  boolean hasWindchillLogicalID(String otherWindchillLogicalID)
           
 boolean isConstrainedByAllowedValuesLocally()
           
 boolean isConstrainedByMaxLengthLocally()
           
 boolean isConstrainedByRangeLocally()
           
 boolean isImmutableLocally()
           
 boolean isSingleValuedLocally()
           
 boolean isValueRequiredLocally()
           
 void setConstraint(ValueConstraint valueConstraint)
           
(package private)  void setIsConstrainedByAllowedValuesLocally(boolean isConstrainedByAllowedValuesLocally)
           
(package private)  void setIsConstrainedByMaxLengthLocally(boolean isConstrainedByMaxLengthLocally)
           
(package private)  void setIsConstrainedByRangeLocally(boolean isConstrainedByRangeLocally)
           
(package private)  void setIsImmutableLocally(boolean isImmutableLocally)
           
(package private)  void setIsSingleValuedLocally(boolean isSingleValuedLocally)
           
(package private)  void setIsValueRequiredLocally(boolean isValueRequiredLocally)
           
(package private)  void setLocalAllowedValues(String[] localAllowedValues)
           
(package private)  void setLocalDefaultValues(String[] localDefaultValues)
           
(package private)  void setLocalLegalRangeHi(double localLegalRangeHi)
           
(package private)  void setLocalLegalRangeLo(double localLegalRangeLo)
           
(package private)  void setLocalMaxStringLength(int localMaxStringLength)
           
(package private)  void setLocalWindchillLogicalID(String localWindchillLogicalID)
           
(package private)  void setPropertyRef(String propertyRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fPropertyRef

private String fPropertyRef

fIsValueRequiredLocally

private boolean fIsValueRequiredLocally

fIsSingleValuedLocally

private boolean fIsSingleValuedLocally

fIsConstrainedByRangeLocally

private boolean fIsConstrainedByRangeLocally

fIsConstrainedByAllowedValuesLocally

private boolean fIsConstrainedByAllowedValuesLocally

fIsConstrainedByMaxLengthLocally

private boolean fIsConstrainedByMaxLengthLocally

fIsImmutableLocally

private boolean fIsImmutableLocally

fLocalLegalRangeLo

private double fLocalLegalRangeLo

fLocalLegalRangeHi

private double fLocalLegalRangeHi

fLocalAllowedValues

private String[] fLocalAllowedValues

fLocalDefaultValues

private String[] fLocalDefaultValues

fLocalWindchillLogicalID

private String fLocalWindchillLogicalID

fLocalMaxStringLength

private int fLocalMaxStringLength
Constructor Detail

cConstraintsAndDefaults

public cConstraintsAndDefaults()

cConstraintsAndDefaults

public cConstraintsAndDefaults(String propertyRef,
                               String[] localDefaultValues)

cConstraintsAndDefaults

public cConstraintsAndDefaults(String propertyRef)

cConstraintsAndDefaults

public cConstraintsAndDefaults(nitidus.sil.be.clf.iOPMOverrideIO opmOverride)

cConstraintsAndDefaults

public cConstraintsAndDefaults(nitidus.sil.be.clf.iOPMBase opmBase)
Method Detail

getPropertyRef

public String getPropertyRef()
Specified by:
getPropertyRef in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setPropertyRef

final void setPropertyRef(String propertyRef)

isValueRequiredLocally

public boolean isValueRequiredLocally()
Specified by:
isValueRequiredLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsValueRequiredLocally

final void setIsValueRequiredLocally(boolean isValueRequiredLocally)

isSingleValuedLocally

public boolean isSingleValuedLocally()
Specified by:
isSingleValuedLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsSingleValuedLocally

final void setIsSingleValuedLocally(boolean isSingleValuedLocally)

isConstrainedByRangeLocally

public boolean isConstrainedByRangeLocally()
Specified by:
isConstrainedByRangeLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsConstrainedByRangeLocally

final void setIsConstrainedByRangeLocally(boolean isConstrainedByRangeLocally)

getLocalLegalRangeLo

public double getLocalLegalRangeLo()
Specified by:
getLocalLegalRangeLo in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalLegalRangeLo

final void setLocalLegalRangeLo(double localLegalRangeLo)

getLocalLegalRangeHi

public double getLocalLegalRangeHi()
Specified by:
getLocalLegalRangeHi in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalLegalRangeHi

final void setLocalLegalRangeHi(double localLegalRangeHi)

isConstrainedByAllowedValuesLocally

public boolean isConstrainedByAllowedValuesLocally()
Specified by:
isConstrainedByAllowedValuesLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsConstrainedByAllowedValuesLocally

final void setIsConstrainedByAllowedValuesLocally(boolean isConstrainedByAllowedValuesLocally)

getLocalAllowedValues

public String[] getLocalAllowedValues()
Specified by:
getLocalAllowedValues in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalAllowedValues

final void setLocalAllowedValues(String[] localAllowedValues)

isConstrainedByMaxLengthLocally

public boolean isConstrainedByMaxLengthLocally()
Specified by:
isConstrainedByMaxLengthLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsConstrainedByMaxLengthLocally

final void setIsConstrainedByMaxLengthLocally(boolean isConstrainedByMaxLengthLocally)

getLocalMaxStringLength

public int getLocalMaxStringLength()
Specified by:
getLocalMaxStringLength in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalMaxStringLength

final void setLocalMaxStringLength(int localMaxStringLength)

isImmutableLocally

public boolean isImmutableLocally()
Specified by:
isImmutableLocally in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setIsImmutableLocally

final void setIsImmutableLocally(boolean isImmutableLocally)

getLocalDefaultValues

public String[] getLocalDefaultValues()
Specified by:
getLocalDefaultValues in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalDefaultValues

final void setLocalDefaultValues(String[] localDefaultValues)

getLocalWindchillLogicalID

public String getLocalWindchillLogicalID()
Specified by:
getLocalWindchillLogicalID in interface nitidus.sil.be.clf.iOPMOverrideIO
See Also:
iOPMOverrideIO

setLocalWindchillLogicalID

final void setLocalWindchillLogicalID(String localWindchillLogicalID)

hasDefaultValues

final boolean hasDefaultValues(String[] otherDefaultValues)

hasWindchillLogicalID

final boolean hasWindchillLogicalID(String otherWindchillLogicalID)

setConstraint

public final void setConstraint(ValueConstraint valueConstraint)

addConstraint

protected final void addConstraint(cConstraintsAndDefaults containerConstraint)