com.plumtree.portalpages.common.helpers
Class OptionalProperty

java.lang.Object
  extended by com.plumtree.portalpages.common.helpers.PropertyValidator
      extended by com.plumtree.portalpages.common.helpers.OptionalProperty

public class OptionalProperty
extends PropertyValidator

Author:
OlegS

Field Summary
protected  PropertyValue m_parent
           
 
Fields inherited from class com.plumtree.portalpages.common.helpers.PropertyValidator
INVALID, m_asOwner, m_owner, VALID, VALIDSOFAR
 
Constructor Summary
OptionalProperty(PropertyValidatorOwner owner)
          Creates a new OptionalProperty object.
OptionalProperty(PropertyValidatorOwner owner, PropertyValue parentProperty)
          Creates a new OptionalProperty object.
 
Method Summary
 int validate(PropertyValue val)
           
 
Methods inherited from class com.plumtree.portalpages.common.helpers.PropertyValidator
SetInvalid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_parent

protected PropertyValue m_parent
Constructor Detail

OptionalProperty

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

Parameters:
owner -

OptionalProperty

public OptionalProperty(PropertyValidatorOwner owner,
                        PropertyValue parentProperty)
Creates a new OptionalProperty object.

Parameters:
owner -
parentProperty -
Method Detail

validate

public int validate(PropertyValue val)
Overrides:
validate in class PropertyValidator
Parameters:
val -
Returns:



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