|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deduced.AbstractPropertyCollection<K,V> org.deduced.FixedPropertyInstanceCollection<java.lang.Object,java.lang.Object> org.deduced.implementation.DeducedControllerLayerImplementation
public class DeducedControllerLayerImplementation
Java Implementation used to represent the type : deduced controller layer 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 PropertyList |
collectionList
member variable holding the value for : collection list |
private DeducedModelLayer |
controlledModel
member variable holding the value for : controlled model |
private PropertyList |
dependentModelList
member variable holding the value for : dependent model list |
private java.lang.String |
documentation
member variable holding the value for : documentation |
static java.util.Set<java.lang.Object> |
KEY_SET
list of keys held in this collection |
private java.lang.String |
name
member variable holding the value for : name |
private SchemaAnalyzer |
schemaInformation
member variable holding the value for : schema information |
private PropertyList |
schemaList
member variable holding the value for : schema list |
Fields inherited from class org.deduced.AbstractPropertyCollection |
---|
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE |
Fields inherited from interface org.deduced.DeducedControllerLayer |
---|
CONTROLLED_MODEL_INSTANCE, DEDUCED_CONTROLLER_LAYER_TYPE |
Fields inherited from interface org.deduced.DeducedModelLayer |
---|
COLLECTION_LIST_INSTANCE, DEDUCED_MODEL_LAYER_TYPE, DEPENDENT_MODEL_LIST_INSTANCE |
Fields inherited from interface org.deduced.SchemaBasedApplicationLayer |
---|
SCHEMA_BASED_APPLICATION_LAYER_TYPE, SCHEMA_INFORMATION_INSTANCE, SCHEMA_LIST_INSTANCE |
Fields inherited from interface org.deduced.DeducedApplicationLayer |
---|
DEDUCED_APPLICATION_LAYER_TYPE |
Fields inherited from interface org.deduced.NamedPropertyCollection |
---|
NAME_INSTANCE, NAMED_PROPERTY_COLLECTION_TYPE |
Fields inherited from interface org.deduced.DocumentedCollection |
---|
DOCUMENTATION_INSTANCE, DOCUMENTED_COLLECTION_TYPE |
Fields inherited from interface org.deduced.PropertyCollection |
---|
PROPERTY_COLLECTION_TYPE |
Constructor Summary | |
---|---|
DeducedControllerLayerImplementation()
Default constructor for the type : deduced controller layer |
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 |
PropertyList |
getCollectionList()
(non-Javadoc) |
static PropertyCollection |
getCollectionList(PropertyCollection<?,?> collection)
Get the value of the instance : collection list |
DeducedModelLayer |
getControlledModel()
(non-Javadoc) |
static PropertyCollection |
getControlledModel(PropertyCollection<?,?> collection)
Get the value of the instance : controlled model |
PropertyList |
getDependentModelList()
(non-Javadoc) |
static PropertyCollection |
getDependentModelList(PropertyCollection<?,?> collection)
Get the value of the instance : dependent model list |
java.lang.String |
getDocumentation()
(non-Javadoc) |
static java.lang.String |
getDocumentation(PropertyCollection<?,?> collection)
Get the value of the instance : documentation |
java.lang.String |
getName()
(non-Javadoc) |
static java.lang.String |
getName(PropertyCollection<?,?> collection)
Get the value of the instance : name |
java.lang.Object |
getPropertyValue(java.lang.Object key)
(non-Javadoc) |
SchemaAnalyzer |
getSchemaInformation()
(non-Javadoc) |
static PropertyCollection |
getSchemaInformation(PropertyCollection<?,?> collection)
Get the value of the instance : schema information |
PropertyList |
getSchemaList()
(non-Javadoc) |
static PropertyCollection |
getSchemaList(PropertyCollection<?,?> collection)
Get the value of the instance : schema list |
static void |
resetListFixedInstances(DeducedControllerLayer instance)
reset all the list fixed instances |
static PropertyCollection |
setCollectionList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : collection list |
PropertyList |
setCollectionList(PropertyList setValue)
(non-Javadoc) |
DeducedModelLayer |
setControlledModel(DeducedModelLayer setValue)
(non-Javadoc) |
static PropertyCollection |
setControlledModel(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : controlled model |
static PropertyCollection |
setDependentModelList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : dependent model list |
PropertyList |
setDependentModelList(PropertyList setValue)
(non-Javadoc) |
static java.lang.String |
setDocumentation(PropertyCollection collection,
java.lang.String value)
set the value of the instance : documentation |
java.lang.String |
setDocumentation(java.lang.String setValue)
(non-Javadoc) |
static java.lang.String |
setName(PropertyCollection collection,
java.lang.String value)
set the value of the instance : name |
java.lang.String |
setName(java.lang.String setValue)
(non-Javadoc) |
java.lang.Object |
setProperty(java.lang.Object key,
java.lang.Object value)
(non-Javadoc) |
static PropertyCollection |
setSchemaInformation(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : schema information |
SchemaAnalyzer |
setSchemaInformation(SchemaAnalyzer setValue)
(non-Javadoc) |
static PropertyCollection |
setSchemaList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : schema list |
PropertyList |
setSchemaList(PropertyList setValue)
(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 DeducedModelLayer controlledModel
private PropertyList collectionList
private PropertyList dependentModelList
private PropertyList schemaList
private SchemaAnalyzer schemaInformation
private java.lang.String name
private java.lang.String documentation
Constructor Detail |
---|
public DeducedControllerLayerImplementation()
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 DeducedModelLayer getControlledModel()
getControlledModel
in interface DeducedControllerLayer
DeducedControllerLayer.getControlledModel()
public static PropertyCollection getControlledModel(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public DeducedModelLayer setControlledModel(DeducedModelLayer setValue)
setControlledModel
in interface DeducedControllerLayer
setValue
- new controlled model
DeducedControllerLayer.setControlledModel(org.deduced.DeducedModelLayer)
public static PropertyCollection setControlledModel(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : controlled model
public PropertyList getCollectionList()
getCollectionList
in interface DeducedModelLayer
DeducedModelLayer.getCollectionList()
public static PropertyCollection getCollectionList(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyList setCollectionList(PropertyList setValue)
setCollectionList
in interface DeducedModelLayer
setValue
- new collection list
DeducedModelLayer.setCollectionList(org.deduced.PropertyList)
public static PropertyCollection setCollectionList(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : collection list
public PropertyList getDependentModelList()
getDependentModelList
in interface DeducedModelLayer
DeducedModelLayer.getDependentModelList()
public static PropertyCollection getDependentModelList(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyList setDependentModelList(PropertyList setValue)
setDependentModelList
in interface DeducedModelLayer
setValue
- new dependent model list
DeducedModelLayer.setDependentModelList(org.deduced.PropertyList)
public static PropertyCollection setDependentModelList(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : dependent model list
public PropertyList getSchemaList()
getSchemaList
in interface SchemaBasedApplicationLayer
SchemaBasedApplicationLayer.getSchemaList()
public static PropertyCollection getSchemaList(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyList setSchemaList(PropertyList setValue)
setSchemaList
in interface SchemaBasedApplicationLayer
setValue
- new schema list
SchemaBasedApplicationLayer.setSchemaList(org.deduced.PropertyList)
public static PropertyCollection setSchemaList(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : schema list
public SchemaAnalyzer getSchemaInformation()
getSchemaInformation
in interface SchemaBasedApplicationLayer
SchemaBasedApplicationLayer.getSchemaInformation()
public static PropertyCollection getSchemaInformation(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public SchemaAnalyzer setSchemaInformation(SchemaAnalyzer setValue)
setSchemaInformation
in interface SchemaBasedApplicationLayer
setValue
- new schema information
SchemaBasedApplicationLayer.setSchemaInformation(org.deduced.SchemaAnalyzer)
public static PropertyCollection setSchemaInformation(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : schema information
public java.lang.String getName()
getName
in interface NamedPropertyCollection
NamedPropertyCollection.getName()
public static java.lang.String getName(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public java.lang.String setName(java.lang.String setValue)
setName
in interface NamedPropertyCollection
setValue
- new name
NamedPropertyCollection.setName(java.lang.String)
public static java.lang.String setName(PropertyCollection collection, java.lang.String value)
collection
- new collection on which to set the valuevalue
- new value for : name
public java.lang.String getDocumentation()
getDocumentation
in interface DocumentedCollection
DocumentedCollection.getDocumentation()
public static java.lang.String getDocumentation(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public java.lang.String setDocumentation(java.lang.String setValue)
setDocumentation
in interface DocumentedCollection
setValue
- new documentation
DocumentedCollection.setDocumentation(java.lang.String)
public static java.lang.String setDocumentation(PropertyCollection collection, java.lang.String value)
collection
- new collection on which to set the valuevalue
- new value for : documentation
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(DeducedControllerLayer 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 |