edu.ucla.util
Class AbstractEnumProperty

Object
  extended by AbstractEnumProperty
All Implemented Interfaces:
EnumProperty
Direct Known Subclasses:
CSITypeProperty, FlagProperty, InOutDegreeProperty, UserEnumProperty

public abstract class AbstractEnumProperty
extends Object
implements EnumProperty

Since:
20031009
Author:
keith cascio

Constructor Summary
AbstractEnumProperty()
           
 
Method Summary
 boolean isFlag()
           
 boolean isModified()
           
 boolean isTransient()
           
 boolean isUserEditable()
           
static EnumValue rotate(EnumProperty property, EnumValue current)
           
 boolean toBoolean(EnumValue value)
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface EnumProperty
contains, forIndex, forString, getDefault, getID, getName, indexOf, iterator, size, valueOf, valuesAsArray
 

Constructor Detail

AbstractEnumProperty

public AbstractEnumProperty()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

isFlag

public boolean isFlag()
Specified by:
isFlag in interface EnumProperty

isUserEditable

public boolean isUserEditable()
Specified by:
isUserEditable in interface EnumProperty

isTransient

public boolean isTransient()
Specified by:
isTransient in interface EnumProperty

isModified

public boolean isModified()
Specified by:
isModified in interface EnumProperty

toBoolean

public boolean toBoolean(EnumValue value)
Specified by:
toBoolean in interface EnumProperty

rotate

public static EnumValue rotate(EnumProperty property,
                               EnumValue current)
                        throws Exception
Throws:
Exception
Since:
20070324


Copyright 2010 UCLA Automated Reasoning Group