|
||||||||||
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.PropertyCollectionListInstanceImplementation
public class PropertyCollectionListInstanceImplementation
Java Implementation used to represent the type : property collection list instance 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.String |
documentation
member variable holding the value for : documentation |
private InitializationModel |
initializationModel
member variable holding the value for : initialization model |
private PropertyType |
instanceType
member variable holding the value for : instance type |
private boolean |
isReference
member variable holding the value for : is reference |
static java.util.Set<java.lang.Object> |
KEY_SET
list of keys held in this collection |
private PropertyInstance |
listFixedInstance
member variable holding the value for : list fixed instance |
private java.lang.String |
name
member variable holding the value for : name |
private ValidationModel |
validationModel
member variable holding the value for : validation model |
Fields inherited from class org.deduced.AbstractPropertyCollection |
---|
CHECK_DELETE_MODE_AUTOMATIC, CHECK_DELETE_MODE_MANUAL, COLLECTION_TO_DELETE |
Fields inherited from interface org.deduced.PropertyCollectionListInstance |
---|
LIST_FIXED_INSTANCE_INSTANCE, PROPERTY_COLLECTION_LIST_INSTANCE_TYPE |
Fields inherited from interface org.deduced.PropertyInstance |
---|
INITIALIZATION_MODEL_INSTANCE, INSTANCE_TYPE_INSTANCE, IS_REFERENCE_INSTANCE, PROPERTY_INSTANCE_TYPE, VALIDATION_MODEL_INSTANCE |
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 | |
---|---|
PropertyCollectionListInstanceImplementation()
Default constructor for the type : property collection list instance |
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.String |
getDocumentation()
(non-Javadoc) |
static java.lang.String |
getDocumentation(PropertyCollection<?,?> collection)
Get the value of the instance : documentation |
InitializationModel |
getInitializationModel()
(non-Javadoc) |
static PropertyCollection |
getInitializationModel(PropertyCollection<?,?> collection)
Get the value of the instance : initialization model |
PropertyType |
getInstanceType()
(non-Javadoc) |
static PropertyCollection |
getInstanceType(PropertyCollection<?,?> collection)
Get the value of the instance : instance type |
PropertyInstance |
getListFixedInstance()
(non-Javadoc) |
static PropertyCollection |
getListFixedInstance(PropertyCollection<?,?> collection)
Get the value of the instance : list fixed instance |
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) |
ValidationModel |
getValidationModel()
(non-Javadoc) |
static PropertyCollection |
getValidationModel(PropertyCollection<?,?> collection)
Get the value of the instance : validation model |
boolean |
isReference()
(non-Javadoc) |
static java.lang.Boolean |
isReference(PropertyCollection<?,?> collection)
Get the value of the instance : is reference |
static void |
resetListFixedInstances(PropertyCollectionListInstance instance)
reset all the list fixed instances |
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) |
InitializationModel |
setInitializationModel(InitializationModel setValue)
(non-Javadoc) |
static PropertyCollection |
setInitializationModel(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : initialization model |
static PropertyCollection |
setInstanceType(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : instance type |
PropertyType |
setInstanceType(PropertyType setValue)
(non-Javadoc) |
boolean |
setIsReference(boolean setValue)
(non-Javadoc) |
static java.lang.Boolean |
setIsReference(PropertyCollection collection,
java.lang.Boolean value)
set the value of the instance : is reference |
static PropertyCollection |
setListFixedInstance(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : list fixed instance |
PropertyInstance |
setListFixedInstance(PropertyInstance 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 |
setValidationModel(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : validation model |
ValidationModel |
setValidationModel(ValidationModel 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 PropertyInstance listFixedInstance
private PropertyType instanceType
private boolean isReference
private ValidationModel validationModel
private InitializationModel initializationModel
private java.lang.String name
private java.lang.String documentation
Constructor Detail |
---|
public PropertyCollectionListInstanceImplementation()
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 PropertyInstance getListFixedInstance()
getListFixedInstance
in interface PropertyCollectionListInstance
PropertyCollectionListInstance.getListFixedInstance()
public static PropertyCollection getListFixedInstance(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyInstance setListFixedInstance(PropertyInstance setValue)
setListFixedInstance
in interface PropertyCollectionListInstance
setValue
- new list fixed instance
PropertyCollectionListInstance.setListFixedInstance(org.deduced.PropertyInstance)
public static PropertyCollection setListFixedInstance(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : list fixed instance
public PropertyType getInstanceType()
getInstanceType
in interface PropertyInstance
PropertyInstance.getInstanceType()
public static PropertyCollection getInstanceType(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public PropertyType setInstanceType(PropertyType setValue)
setInstanceType
in interface PropertyInstance
setValue
- new instance type
PropertyInstance.setInstanceType(org.deduced.PropertyType)
public static PropertyCollection setInstanceType(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : instance type
public boolean isReference()
isReference
in interface PropertyInstance
PropertyInstance.isReference()
public static java.lang.Boolean isReference(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public boolean setIsReference(boolean setValue)
setIsReference
in interface PropertyInstance
setValue
- new is reference
PropertyInstance.setIsReference(boolean)
public static java.lang.Boolean setIsReference(PropertyCollection collection, java.lang.Boolean value)
collection
- new collection on which to set the valuevalue
- new value for : is reference
public ValidationModel getValidationModel()
getValidationModel
in interface PropertyInstance
PropertyInstance.getValidationModel()
public static PropertyCollection getValidationModel(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public ValidationModel setValidationModel(ValidationModel setValue)
setValidationModel
in interface PropertyInstance
setValue
- new validation model
PropertyInstance.setValidationModel(org.deduced.ValidationModel)
public static PropertyCollection setValidationModel(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : validation model
public InitializationModel getInitializationModel()
getInitializationModel
in interface PropertyInstance
PropertyInstance.getInitializationModel()
public static PropertyCollection getInitializationModel(PropertyCollection<?,?> collection)
collection
- new collection from which to fetch the value
public InitializationModel setInitializationModel(InitializationModel setValue)
setInitializationModel
in interface PropertyInstance
setValue
- new initialization model
PropertyInstance.setInitializationModel(org.deduced.InitializationModel)
public static PropertyCollection setInitializationModel(PropertyCollection collection, PropertyCollection value)
collection
- new collection on which to set the valuevalue
- new value for : initialization model
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(PropertyCollectionListInstance 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 |