org.progeeks.meta
Interface EnumeratedPropertyType

All Superinterfaces:
PropertyType, java.io.Serializable
All Known Implementing Classes:
ClassEnumeratedPropertyType, HibernateAnnotations.AccessPropertyType, HibernateAnnotations.CascadePropertyType, HibernateAnnotations.FetchPropertyType, HibernateAnnotations.LazyPropertyType, HibernateAnnotations.OptimisticLockingPropertyType, HibernateAnnotations.PolymorphismPropertyType, HibernateAnnotations.UnsavedValuePropertyType, MonthType

public interface EnumeratedPropertyType
extends PropertyType

Specialization of PropertyType representing a type that has a limited number of specific values. An example might be a days of the week type.

Version:
$Revision: 1.1 $
Author:
Paul Speed

Method Summary
 java.util.List getEnumeratedValues()
          Returns the list of acceptable values.
 boolean isEnumeratedValue(java.lang.Object object)
          Returns true if the specified value is a valid value for this enumerated type.
 
Methods inherited from interface org.progeeks.meta.PropertyType
getBaseClass, getSuperTypes, isAssignableFrom, isInstance
 

Method Detail

getEnumeratedValues

java.util.List getEnumeratedValues()
Returns the list of acceptable values.


isEnumeratedValue

boolean isEnumeratedValue(java.lang.Object object)
Returns true if the specified value is a valid value for this enumerated type.



Copyright © 2002-2003 Paul Speed. All Rights Reserved.