|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.AbstractPropertyCollection<K,V>
org.deduced.FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object>
org.deduced.implementation.ManuallyOrderedParameterImplementation
public class ManuallyOrderedParameterImplementation

Java Implementation used to represent the type : manually ordered parameter Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaImplementation.vm
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.deduced.AbstractPropertyCollection |
|---|
AbstractPropertyCollection.CollectionToDeleteMonitor |
| Field Summary | |
|---|---|
private java.lang.Integer |
index
member variable holding the value for : index |
static java.util.Set<java.lang.Object> |
KEY_SET
list of keys held in this collection |
private Parameter |
parameter
member variable holding the value for : parameter |
| Fields inherited from class org.deduced.AbstractPropertyCollection |
|---|
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE |
| Fields inherited from interface org.deduced.ManuallyOrderedParameter |
|---|
MANUALLY_ORDERED_PARAMETER_TYPE |
| Fields inherited from interface org.deduced.ManuallyOrderedType |
|---|
INDEX_INSTANCE, MANUALLY_ORDERED_TYPE_TYPE |
| Fields inherited from interface org.deduced.OrderedParameter |
|---|
ORDERED_PARAMETER_TYPE, PARAMETER_INSTANCE |
| Fields inherited from interface org.deduced.PropertyCollection |
|---|
PROPERTY_COLLECTION_TYPE |
| Constructor Summary | |
|---|---|
ManuallyOrderedParameterImplementation()
Default constructor for the type : manually ordered parameter |
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.Object> |
asKeySet()
|
java.lang.Object |
clone()
(non-Javadoc) |
static void |
createInstancesAndTypes()
create instances and types |
static void |
createKeyList()
static method used to initialize the key list on the property collection |
boolean |
equals(java.lang.Object o)
(non-Javadoc) |
static void |
fillInstancesAndTypes()
fill instances and types phase 1 |
static void |
fillInstancesAndTypesFromSchema(PropertyCollection<?,?> schema)
fill instances and types from a schema |
static void |
fillTypeLists()
fill instances and types phase 2 |
java.lang.Integer |
getIndex()
(non-Javadoc) |
static java.lang.Integer |
getIndex(PropertyCollection<?,?> collection)
Get the value of the instance : index |
Parameter |
getParameter()
(non-Javadoc) |
static PropertyCollection |
getParameter(PropertyCollection<?,?> collection)
Get the value of the instance : parameter |
java.lang.Object |
getPropertyValue(java.lang.Object key)
(non-Javadoc) |
static void |
resetListFixedInstances(ManuallyOrderedParameter instance)
reset all the list fixed instances |
java.lang.Integer |
setIndex(java.lang.Integer setValue)
(non-Javadoc) |
static java.lang.Integer |
setIndex(PropertyCollection collection,
java.lang.Integer value)
set the value of the instance : index |
Parameter |
setParameter(Parameter setValue)
(non-Javadoc) |
static PropertyCollection |
setParameter(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : parameter |
java.lang.Object |
setProperty(java.lang.Object key,
java.lang.Object value)
(non-Javadoc) |
PropertyCollectionType |
type()
(non-Javadoc) |
| Methods inherited from class org.deduced.FixedPropertyInstanceCollection |
|---|
addProperty, areKeysAssignedAutomatically, containsKey, getProperty, iterator, iteratorByValue, removeProperty, removePropertyInstance, removePropertyValue, size |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deduced.PropertyCollection |
|---|
activate, addListener, addProperty, areKeysAssignedAutomatically, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, size, valueKey |
| Field Detail |
|---|
public static java.util.Set<java.lang.Object> KEY_SET
private java.lang.Integer index
private Parameter parameter
| Constructor Detail |
|---|
public ManuallyOrderedParameterImplementation()
| Method Detail |
|---|
public java.util.Set<java.lang.Object> asKeySet()
asKeySet in interface PropertyCollection<java.lang.Object,java.lang.Object>public PropertyCollectionType type()
type in interface PropertyCollection<java.lang.Object,java.lang.Object>PropertyCollection.type()public static void createKeyList()
public java.lang.Integer getIndex()
getIndex in interface ManuallyOrderedTypeManuallyOrderedType.getIndex()public static java.lang.Integer getIndex(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public java.lang.Integer setIndex(java.lang.Integer setValue)
setIndex in interface ManuallyOrderedTypesetValue - new index
ManuallyOrderedType.setIndex(java.lang.Integer)
public static java.lang.Integer setIndex(PropertyCollection collection,
java.lang.Integer value)
collection - new collection on which to set the valuevalue - new value for : index
public Parameter getParameter()
getParameter in interface OrderedParameterOrderedParameter.getParameter()public static PropertyCollection getParameter(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public Parameter setParameter(Parameter setValue)
setParameter in interface OrderedParametersetValue - new parameter
OrderedParameter.setParameter(org.deduced.Parameter)
public static PropertyCollection setParameter(PropertyCollection collection,
PropertyCollection value)
collection - new collection on which to set the valuevalue - new value for : parameter
public boolean equals(java.lang.Object o)
equals in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>Object.equals(java.lang.Object)public java.lang.Object clone()
clone in interface PropertyCollection<java.lang.Object,java.lang.Object>clone in class AbstractPropertyCollection<java.lang.Object,java.lang.Object>AbstractPropertyCollection.clone()
public java.lang.Object setProperty(java.lang.Object key,
java.lang.Object value)
setProperty in interface PropertyCollection<java.lang.Object,java.lang.Object>setProperty in class FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object>key - the key of the propertyvalue - the new value of the property. If the property is a
collection that is not by reference, this method requires that
the passed collection has a parent set to null since it will
reset the parent.
PropertyCollection.setProperty(java.lang.Object,java.lang.Object)public java.lang.Object getPropertyValue(java.lang.Object key)
getPropertyValue in interface PropertyCollection<java.lang.Object,java.lang.Object>key - the property key
PropertyCollection.getPropertyValue(java.lang.Object)public static void resetListFixedInstances(ManuallyOrderedParameter instance)
instance - the instance that will get all its list fixed instances setpublic static void createInstancesAndTypes()
public static void fillInstancesAndTypesFromSchema(PropertyCollection<?,?> schema)
schema - the schema that contains the required instances and typespublic static void fillInstancesAndTypes()
public static void fillTypeLists()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||