|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.util.EPMAttributeConstraints
Class to represent the summary of constraint of a give attribute in the type definition.
Field Summary | |
private AttributeTypeIdentifier |
attributeType
|
private String |
dataType
|
private boolean |
immutable
|
private DataSet |
legalValues
|
static String |
LOWER_CASE_CONSTRAINT
|
private boolean |
lowerCase
|
private boolean |
required
|
private boolean |
singleValued
|
private DiscreteSet |
stringFormat
|
private AnalogSet |
stringLength
|
private DiscreteSet |
suggestedValues
|
private boolean |
upperCase
|
Constructor Summary | |
EPMAttributeConstraints(AttributeTypeIdentifier ati)
|
|
EPMAttributeConstraints(AttributeTypeIdentifier ati,
ConstraintIdentifier[] ci,
ConstraintData[] data)
|
Method Summary | |
protected void |
addConstraint(ConstraintIdentifier ci,
ConstraintData cn_data)
|
AttributeTypeIdentifier |
getAttributeTypeIdentifier()
Returns the AttributeTypeIdentifier for which this object contains the constraints |
String |
getDataType()
Returns the data type of the attribute. |
String |
getExternalHid(AttributeTypeIdentifier id)
Return the external hierarchy id from a IBA AttributeTypeIdentifier or null if it is not IBA |
DataSet |
getLegalValues()
Returns the set of legal values allowed for the attribute. |
DiscreteSet |
getStringFormats()
Returns the set of string formats allowed for the attribute. |
AnalogSet |
getStringLength()
Returns the string length range allowed for the attribute. |
DiscreteSet |
getSuggestedValues()
Returns the set of suggested values for the attribute. |
boolean |
isImmutable()
Returns true if the attribute is immutable. |
boolean |
isLowerCase()
Returns true if the attribute value is required to be in lower case. |
boolean |
isRequired()
Returns true if the attribute is required attribute. |
boolean |
isSingleValued()
Returns true if the attribute is single valued. |
boolean |
isUpperCase()
Returns true if the attribute value is required to be in upper case. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LOWER_CASE_CONSTRAINT
private AttributeTypeIdentifier attributeType
private String dataType
private DataSet legalValues
private DiscreteSet suggestedValues
private DiscreteSet stringFormat
private AnalogSet stringLength
private boolean required
private boolean immutable
private boolean singleValued
private boolean upperCase
private boolean lowerCase
Constructor Detail |
public EPMAttributeConstraints(AttributeTypeIdentifier ati) throws WTException
public EPMAttributeConstraints(AttributeTypeIdentifier ati, ConstraintIdentifier[] ci, ConstraintData[] data) throws WTException
Method Detail |
public AttributeTypeIdentifier getAttributeTypeIdentifier()
public String getExternalHid(AttributeTypeIdentifier id)
public String getDataType()
public DataSet getLegalValues()
public DiscreteSet getSuggestedValues()
public DiscreteSet getStringFormats()
public AnalogSet getStringLength()
public boolean isRequired()
public boolean isImmutable()
public boolean isSingleValued()
public boolean isUpperCase()
public boolean isLowerCase()
protected void addConstraint(ConstraintIdentifier ci, ConstraintData cn_data)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |