wt.iba.constraint
Interface AttributeConstraint

All Superinterfaces:
CheckContainer, ContainerValidator, LocalizedStringDisplayable
All Known Implementing Classes:
AbstractCSMAttributeConstraintView, ContainerConstraint, EPMIBAContainerConstraint, SingleDefinitionConstraint

public interface AttributeConstraint
extends ContainerValidator, LocalizedStringDisplayable, CheckContainer

dsfdsads

Supported API: false

Extendable: false


Field Summary
static String VALUE_CONSTRAINT
          Label for the attribute.
 
Method Summary
 boolean appliesToAttrDef(AttributeDefDefaultView attributeDefDefaultview)
          

Supported API: false
 ConstraintDescriptor getConstraintDescriptor(AttributeDefDefaultView attributeDefDefaultView, Locale locale)
          

Supported API: false
 String getDisplayName(Locale locale)
          

Supported API: false
 String getLongDescription(Locale locale)
          

Supported API: false
 String getShortDescription(Locale locale)
          

Supported API: false
 ValueConstraint getValueConstraint()
          Gets the object for the association that plays role: VALUE_CONSTRAINT.
 boolean isAddValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView)
          

Supported API: false
 boolean isDeleteValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView)
          

Supported API: false
 boolean isUpdateValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView)
          

Supported API: false
 void setValueConstraint(ValueConstraint a_ValueConstraint)
          Sets the object for the association that plays role: VALUE_CONSTRAINT.
 
Methods inherited from interface wt.lite.LocalizedStringDisplayable
getLocalizedDisplayString
 
Methods inherited from interface wt.iba.constraint.CheckContainer
isContainerValid
 

Field Detail

VALUE_CONSTRAINT

public static final String VALUE_CONSTRAINT
Label for the attribute.

Supported API: false

See Also:
Constant Field Values
Method Detail

getValueConstraint

public ValueConstraint getValueConstraint()
Gets the object for the association that plays role: VALUE_CONSTRAINT.

Supported API: false

Returns:
ValueConstraint

setValueConstraint

public void setValueConstraint(ValueConstraint a_ValueConstraint)
                        throws WTPropertyVetoException
Sets the object for the association that plays role: VALUE_CONSTRAINT.

Supported API: false

Parameters:
a_ValueConstraint -
Throws:
WTPropertyVetoException

getShortDescription

public String getShortDescription(Locale locale)


Supported API: false

Parameters:
locale -
Returns:
String

getLongDescription

public String getLongDescription(Locale locale)


Supported API: false

Parameters:
locale -
Returns:
String

getDisplayName

public String getDisplayName(Locale locale)


Supported API: false

Parameters:
locale -
Returns:
String

isAddValueValid

public boolean isAddValueValid(AttributeContainer attrContainer,
                               AbstractValueView abstValueView)
                        throws IBAConstraintException


Supported API: false

Specified by:
isAddValueValid in interface ContainerValidator
Parameters:
attrContainer -
abstValueView -
Returns:
boolean
Throws:
IBAConstraintException

isUpdateValueValid

public boolean isUpdateValueValid(AttributeContainer attrContainer,
                                  AbstractValueView abstValueView)
                           throws IBAConstraintException


Supported API: false

Specified by:
isUpdateValueValid in interface ContainerValidator
Parameters:
attrContainer -
abstValueView -
Returns:
boolean
Throws:
IBAConstraintException

isDeleteValueValid

public boolean isDeleteValueValid(AttributeContainer attrContainer,
                                  AbstractValueView abstValueView)
                           throws IBAConstraintException


Supported API: false

Specified by:
isDeleteValueValid in interface ContainerValidator
Parameters:
attrContainer -
abstValueView -
Returns:
boolean
Throws:
IBAConstraintException

appliesToAttrDef

public boolean appliesToAttrDef(AttributeDefDefaultView attributeDefDefaultview)


Supported API: false

Parameters:
attributeDefDefaultview -
Returns:
boolean

getConstraintDescriptor

public ConstraintDescriptor getConstraintDescriptor(AttributeDefDefaultView attributeDefDefaultView,
                                                    Locale locale)


Supported API: false

Parameters:
attributeDefDefaultView -
locale -
Returns:
ConstraintDescriptor