|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.iba.constraint.ConstraintGroup
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
constraintGroupLabel
|
private Vector |
constraints
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
ConstraintGroup()
|
Method Summary | |
void |
addConstraint(AttributeConstraint constraint)
Supported API: false |
private void |
constraintGroupLabelValidate(String a_ConstraintGroupLabel)
|
ConstraintDescriptor[] |
getConstraintDescriptors(AttributeDefDefaultView attributeDefDefaultView,
Locale locale)
Supported API: false |
String |
getConstraintGroupLabel()
Gets the value of the attribute: constraintGroupLabel. |
Enumeration |
getConstraints()
Supported API: false |
AttributeConstraint[] |
getConstraintsByAttrDef(AttributeDefDefaultView attributeDefDefaultView)
Supported API: false |
String |
getLocalizedDisplayString()
Supported API: false |
boolean |
isAddValueValid(AttributeContainer attrContainer,
AbstractValueView abstValueView)
Supported API: false |
boolean |
isContainerValid(AttributeContainer attrContainer)
Supported API: false |
boolean |
isDeleteValueValid(AttributeContainer attrContainer,
AbstractValueView abstValueView)
Supported API: false |
boolean |
isUpdateValueValid(AttributeContainer attrContainer,
AbstractValueView abstValueView)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ConstraintGroup thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
removeConstraint(AttributeConstraint constraint)
Removes the first occurrence of the specified AttriburteConstraint. |
void |
setConstraintGroupLabel(String a_ConstraintGroupLabel)
Sets the value of the attribute: constraintGroupLabel. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String constraintGroupLabel
private Vector constraints
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ConstraintGroup()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ConstraintGroup thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getConstraintGroupLabel()
public void setConstraintGroupLabel(String a_ConstraintGroupLabel) throws WTPropertyVetoException
a_ConstraintGroupLabel
-
WTPropertyVetoException
private void constraintGroupLabelValidate(String a_ConstraintGroupLabel) throws WTPropertyVetoException
a_ConstraintGroupLabel
-
WTPropertyVetoException
public void addConstraint(AttributeConstraint constraint)
constraint
- public Enumeration getConstraints()
public AttributeConstraint[] getConstraintsByAttrDef(AttributeDefDefaultView attributeDefDefaultView)
attributeDefDefaultView
-
public ConstraintDescriptor[] getConstraintDescriptors(AttributeDefDefaultView attributeDefDefaultView, Locale locale)
attributeDefDefaultView
- locale
-
public String getLocalizedDisplayString()
getLocalizedDisplayString
in interface LocalizedStringDisplayable
public void removeConstraint(AttributeConstraint constraint)
constraint
- public boolean isAddValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isAddValueValid
in interface ContainerValidator
attrContainer
- abstValueView
-
IBAConstraintException
public boolean isUpdateValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isUpdateValueValid
in interface ContainerValidator
attrContainer
- abstValueView
-
IBAConstraintException
public boolean isDeleteValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isDeleteValueValid
in interface ContainerValidator
attrContainer
- abstValueView
-
IBAConstraintException
public boolean isContainerValid(AttributeContainer attrContainer) throws IBAConstraintException
isContainerValid
in interface CheckContainer
attrContainer
-
IBAConstraintException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |