|
||||||||||
| 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.Integer,java.lang.Object>
org.deduced.implementation.PropertyPackageImplementation
public class PropertyPackageImplementation

Java Implementation used to represent the type : property package 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 |
static java.util.Set<java.lang.Integer> |
KEY_SET
list of keys held in this collection |
private java.lang.String |
name
member variable holding the value for : name |
private PropertyList |
propertyPackageList
member variable holding the value for : property package list |
private PropertyList |
propertyTypeList
member variable holding the value for : property type 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.PropertyPackage |
|---|
PROPERTY_PACKAGE_LIST_INSTANCE, PROPERTY_PACKAGE_TYPE, PROPERTY_TYPE_LIST_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 | |
|---|---|
PropertyPackageImplementation()
Default constructor for the type : property package |
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.Integer> |
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 |
java.lang.String |
getName()
(non-Javadoc) |
static java.lang.String |
getName(PropertyCollection<?,?> collection)
Get the value of the instance : name |
PropertyList |
getPropertyPackageList()
(non-Javadoc) |
static PropertyCollection |
getPropertyPackageList(PropertyCollection<?,?> collection)
Get the value of the instance : property package list |
PropertyList |
getPropertyTypeList()
(non-Javadoc) |
static PropertyCollection |
getPropertyTypeList(PropertyCollection<?,?> collection)
Get the value of the instance : property type list |
java.lang.Object |
getPropertyValue(java.lang.Object key)
(non-Javadoc) |
static void |
resetListFixedInstances(PropertyPackage 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) |
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.Integer key,
java.lang.Object value)
(non-Javadoc) |
static PropertyCollection |
setPropertyPackageList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : property package list |
PropertyList |
setPropertyPackageList(PropertyList setValue)
(non-Javadoc) |
static PropertyCollection |
setPropertyTypeList(PropertyCollection collection,
PropertyCollection value)
set the value of the instance : property type list |
PropertyList |
setPropertyTypeList(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, instanceKey, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setParent, size, valueKey |
| Field Detail |
|---|
public static java.util.Set<java.lang.Integer> KEY_SET
private PropertyList propertyPackageList
private PropertyList propertyTypeList
private java.lang.String name
private java.lang.String documentation
| Constructor Detail |
|---|
public PropertyPackageImplementation()
| Method Detail |
|---|
public java.util.Set<java.lang.Integer> asKeySet()
asKeySet in interface PropertyCollection<java.lang.Integer,java.lang.Object>public PropertyCollectionType type()
type in interface PropertyCollection<java.lang.Integer,java.lang.Object>PropertyCollection.type()public static void createKeyList()
public PropertyList getPropertyPackageList()
getPropertyPackageList in interface PropertyPackagePropertyPackage.getPropertyPackageList()public static PropertyCollection getPropertyPackageList(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public PropertyList setPropertyPackageList(PropertyList setValue)
setPropertyPackageList in interface PropertyPackagesetValue - new property package list
PropertyPackage.setPropertyPackageList(org.deduced.PropertyList)
public static PropertyCollection setPropertyPackageList(PropertyCollection collection,
PropertyCollection value)
collection - new collection on which to set the valuevalue - new value for : property package list
public PropertyList getPropertyTypeList()
getPropertyTypeList in interface PropertyPackagePropertyPackage.getPropertyTypeList()public static PropertyCollection getPropertyTypeList(PropertyCollection<?,?> collection)
collection - new collection from which to fetch the value
public PropertyList setPropertyTypeList(PropertyList setValue)
setPropertyTypeList in interface PropertyPackagesetValue - new property type list
PropertyPackage.setPropertyTypeList(org.deduced.PropertyList)
public static PropertyCollection setPropertyTypeList(PropertyCollection collection,
PropertyCollection value)
collection - new collection on which to set the valuevalue - new value for : property type list
public java.lang.String getName()
getName in interface NamedPropertyCollectionNamedPropertyCollection.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 NamedPropertyCollectionsetValue - 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 DocumentedCollectionDocumentedCollection.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 DocumentedCollectionsetValue - 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.Integer,java.lang.Object>Object.equals(java.lang.Object)public java.lang.Object clone()
clone in interface PropertyCollection<java.lang.Integer,java.lang.Object>clone in class AbstractPropertyCollection<java.lang.Integer,java.lang.Object>AbstractPropertyCollection.clone()
public java.lang.Object setProperty(java.lang.Integer key,
java.lang.Object value)
setProperty in interface PropertyCollection<java.lang.Integer,java.lang.Object>setProperty in class FixedPropertyInstanceCollection<java.lang.Integer,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.Integer,java.lang.Object>key - the property key
PropertyCollection.getPropertyValue(java.lang.Object)public static void resetListFixedInstances(PropertyPackage 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 | |||||||||