com.plumtree.portalpages.common.helpers
Class PropertyValidator

java.lang.Object
  extended by com.plumtree.portalpages.common.helpers.PropertyValidator
Direct Known Subclasses:
DateProperty, IntegerProperty, MandatoryProperty, OptionalProperty

public abstract class PropertyValidator
extends java.lang.Object

Author:
OlegS

Field Summary
static int INVALID
           
protected  AActivitySpace m_asOwner
           
protected  PropertyValidatorOwner m_owner
           
static int VALID
           
static int VALIDSOFAR
           
 
Constructor Summary
PropertyValidator(PropertyValidatorOwner owner)
          Creates a new PropertyValidator object.
 
Method Summary
 void SetInvalid(PropertyValue val, java.lang.String reason)
           
 int validate(PropertyValue val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PropertyValidator

public PropertyValidator(PropertyValidatorOwner owner)
Creates a new PropertyValidator object.

Parameters:
owner -
Method Detail

SetInvalid

public void SetInvalid(PropertyValue val,
                       java.lang.String reason)
Parameters:
val -
reason -

validate

public int validate(PropertyValue val)
Parameters:
val -
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.