|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lite.AbstractLiteObject
wt.csm.constraint.liteconstraint.AbstractCSMAttributeConstraintView
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static boolean |
debug
|
static long |
EXTERNALIZATION_VERSION_UID
|
private int |
key
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private int |
state
|
private ValueConstraint |
theValueConstraint
|
Fields inherited from class wt.lite.AbstractLiteObject |
ILLEGAL_ACCESS, SERVER |
Fields inherited from interface wt.lite.InnerObjectState |
CHANGED_STATE, DELETED_STATE, KEY, NEW_STATE, STATE, UNCHANGED_STATE, UNINITIALIZED_STATE |
Fields inherited from interface wt.iba.constraint.AttributeConstraint |
VALUE_CONSTRAINT |
Fields inherited from interface wt.lite.Liteable |
UPDATE_COUNT |
Constructor Summary | |
AbstractCSMAttributeConstraintView()
Supported API: false |
|
AbstractCSMAttributeConstraintView(int updateCount,
ObjectIdentifier objectID,
ValueConstraint valueConstraint)
Supported API: false |
|
AbstractCSMAttributeConstraintView(ValueConstraint valueConstraint)
Supported API: false |
Method Summary | |
protected boolean |
appliesTo(AttributeContainer attrContainer,
AbstractValueView absValueView)
asdfads Supported API: false |
abstract boolean |
appliesToAttrDef(AttributeDefDefaultView attributeDefDefaultview)
Supported API: false |
Object |
clone()
Supported API: false |
ConstraintDescriptor |
getConstraintDescriptor(AttributeDefDefaultView attributeDefDefaultView,
Locale locale)
Supported API: false |
String |
getDisplayName(Locale locale)
Supported API: false |
int |
getKey()
Gets the value of the attribute: key. |
String |
getLocalizedDisplayString()
Supported API: false |
String |
getLongDescription(Locale locale)
Supported API: false |
String |
getShortDescription(Locale locale)
Supported API: false |
int |
getState()
Gets the value of the attribute: state. |
ValueConstraint |
getValueConstraint()
Gets the object for the association that plays role: theValueConstraint. |
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 |
isDirty()
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(AbstractCSMAttributeConstraintView thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setKey(int a_Key)
Sets the value of the attribute: key. |
void |
setState(int a_State)
Sets the value of the attribute: state. |
protected void |
setStateDirty()
Supported API: false |
void |
setValueConstraint(ValueConstraint a_ValueConstraint)
Sets the object for the association that plays role: theValueConstraint. |
private void |
theValueConstraintValidate(ValueConstraint a_ValueConstraint)
|
void |
update(CloneUpdateable clone)
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.lite.AbstractLiteObject |
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ValueConstraint theValueConstraint
private int state
private int key
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static boolean debug
Constructor Detail |
public AbstractCSMAttributeConstraintView(int updateCount, ObjectIdentifier objectID, ValueConstraint valueConstraint) throws CSMConstraintException, WTException
updateCount
- objectID
- valueConstraint
-
CSMConstraintException
WTException
public AbstractCSMAttributeConstraintView(ValueConstraint valueConstraint) throws CSMConstraintException
valueConstraint
-
CSMConstraintException
public AbstractCSMAttributeConstraintView() throws CSMConstraintException
CSMConstraintException
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractLiteObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractLiteObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractCSMAttributeConstraintView 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 ValueConstraint getValueConstraint()
getValueConstraint
in interface AttributeConstraint
public void setValueConstraint(ValueConstraint a_ValueConstraint) throws WTPropertyVetoException
setValueConstraint
in interface AttributeConstraint
a_ValueConstraint
-
WTPropertyVetoException
private void theValueConstraintValidate(ValueConstraint a_ValueConstraint) throws WTPropertyVetoException
a_ValueConstraint
-
WTPropertyVetoException
public Object clone()
clone
in class AbstractLiteObject
protected void setStateDirty()
public boolean isDirty()
isDirty
in interface InnerObjectState
public void update(CloneUpdateable clone) throws WTException
update
in interface CloneUpdateable
clone
-
WTException
public ConstraintDescriptor getConstraintDescriptor(AttributeDefDefaultView attributeDefDefaultView, Locale locale)
getConstraintDescriptor
in interface AttributeConstraint
attributeDefDefaultView
- locale
-
public String getShortDescription(Locale locale)
getShortDescription
in interface AttributeConstraint
locale
-
public String getLongDescription(Locale locale)
getLongDescription
in interface AttributeConstraint
locale
-
public String getDisplayName(Locale locale)
getDisplayName
in interface AttributeConstraint
locale
-
public String getLocalizedDisplayString()
getLocalizedDisplayString
in interface LocalizedStringDisplayable
getLocalizedDisplayString
in class AbstractLiteObject
public abstract boolean appliesToAttrDef(AttributeDefDefaultView attributeDefDefaultview)
appliesToAttrDef
in interface AttributeConstraint
attributeDefDefaultview
-
public boolean isAddValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isAddValueValid
in interface AttributeConstraint
attrContainer
- abstValueView
-
IBAConstraintException
public boolean isUpdateValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isUpdateValueValid
in interface AttributeConstraint
attrContainer
- abstValueView
-
IBAConstraintException
public boolean isDeleteValueValid(AttributeContainer attrContainer, AbstractValueView abstValueView) throws IBAConstraintException
isDeleteValueValid
in interface AttributeConstraint
attrContainer
- abstValueView
-
IBAConstraintException
protected boolean appliesTo(AttributeContainer attrContainer, AbstractValueView absValueView) throws IBAConstraintException
attrContainer
- absValueView
-
IBAConstraintException
public boolean isContainerValid(AttributeContainer attrContainer) throws IBAConstraintException
isContainerValid
in interface CheckContainer
attrContainer
-
IBAConstraintException
public int getState()
getState
in interface InnerObjectState
public void setState(int a_State) throws WTPropertyVetoException
setState
in interface InnerObjectState
a_State
-
WTPropertyVetoException
public int getKey()
getKey
in interface InnerObjectState
public void setKey(int a_Key) throws WTPropertyVetoException
setKey
in interface InnerObjectState
a_Key
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |