org.deduced
Interface EnumerationPropertyCollection

All Superinterfaces:
java.lang.Cloneable, NamedPropertyCollection, PropertyCollection<java.lang.Object,java.lang.Object>
All Known Implementing Classes:
EnumerationPropertyCollectionImplementation

public interface EnumerationPropertyCollection
extends NamedPropertyCollection

Interface used to represent the type : enumeration property collection Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaInterface.vm


Field Summary
static PropertyCollectionTypeHolder ENUMERATION_PROPERTY_COLLECTION_TYPE
          Variable used to hold the PropertyCollectionType for : enumeration property collection
static PropertyInstanceHolder ORDINAL_INSTANCE
          Variable used to hold the PropertyInstance for : ordinal
 
Fields inherited from interface org.deduced.NamedPropertyCollection
NAME_INSTANCE, NAMED_PROPERTY_COLLECTION_TYPE
 
Fields inherited from interface org.deduced.PropertyCollection
PROPERTY_COLLECTION_TYPE
 
Method Summary
 int getOrdinal()
          Get the value of the instance : ordinal
 int setOrdinal(int newValue)
          Set the value of the instance : ordinal
 
Methods inherited from interface org.deduced.NamedPropertyCollection
getName, setName
 
Methods inherited from interface org.deduced.PropertyCollection
activate, addListener, addProperty, areKeysAssignedAutomatically, asKeySet, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, clone, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, getPropertyValue, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, setProperty, size, type, valueKey
 

Field Detail

ENUMERATION_PROPERTY_COLLECTION_TYPE

static final PropertyCollectionTypeHolder ENUMERATION_PROPERTY_COLLECTION_TYPE
Variable used to hold the PropertyCollectionType for : enumeration property collection


ORDINAL_INSTANCE

static final PropertyInstanceHolder ORDINAL_INSTANCE
Variable used to hold the PropertyInstance for : ordinal

Method Detail

getOrdinal

int getOrdinal()
Get the value of the instance : ordinal

Returns:
ordinal

setOrdinal

int setOrdinal(int newValue)
Set the value of the instance : ordinal

Parameters:
newValue - new ordinal
Returns:
ordinal value after the change