com.plumtree.portalpages.common.helpers
Class PropertyValidator
java.lang.Object
com.plumtree.portalpages.common.helpers.PropertyValidator
- Direct Known Subclasses:
- DateProperty, IntegerProperty, MandatoryProperty, OptionalProperty
public abstract class PropertyValidator
- extends java.lang.Object
- Author:
- OlegS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALID
public static final int VALID
- See Also:
- Constant Field Values
INVALID
public static final int INVALID
- See Also:
- Constant Field Values
VALIDSOFAR
public static final int VALIDSOFAR
- See Also:
- Constant Field Values
m_asOwner
protected AActivitySpace m_asOwner
m_owner
protected PropertyValidatorOwner m_owner
PropertyValidator
public PropertyValidator(PropertyValidatorOwner owner)
- Creates a new PropertyValidator object.
- Parameters:
owner
-
SetInvalid
public void SetInvalid(PropertyValue val,
java.lang.String reason)
- Parameters:
val
- reason
-
validate
public int validate(PropertyValue val)
- Parameters:
val
-
- Returns: