Package org.cristalise.kernel.property
Class PropertyDescriptionList
java.lang.Object
org.cristalise.kernel.utils.CastorArrayList<PropertyDescription>
org.cristalise.kernel.property.PropertyDescriptionList
- All Implemented Interfaces:
DescriptionObject
public class PropertyDescriptionList
extends CastorArrayList<PropertyDescription>
implements DescriptionObject
-
Field Summary
Fields inherited from class org.cristalise.kernel.utils.CastorArrayList
list -
Constructor Summary
ConstructorsConstructorDescriptionPropertyDescriptionList(String name, Integer version) PropertyDescriptionList(String name, Integer version, ArrayList<PropertyDescription> aList) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidbooleandefinesProperty(String name) instantiate(PropertyArrayList initProps) Before instantiating checks that supplied initial Properties exist in description listmakeDescCollections(TransactionKey transactionKey) booleansetDefaultValue(String name, String value) Methods inherited from class org.cristalise.kernel.utils.CastorArrayList
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cristalise.kernel.utils.DescriptionObject
exists, export, getItemPath, getName, getNamespace, getVersion, getXml, getXml, makeDescCollection, setItemPath, setName, setNamespace, setVersion, toOutcome
-
Constructor Details
-
PropertyDescriptionList
public PropertyDescriptionList() -
PropertyDescriptionList
-
PropertyDescriptionList
-
PropertyDescriptionList
-
-
Method Details
-
getClassProps
-
setDefaultValue
-
add
-
add
-
add
-
definesProperty
-
instantiate
Before instantiating checks that supplied initial Properties exist in description list- Parameters:
initProps- initial list of Properties- Returns:
- instantiated PropertyArrayList for Item
- Throws:
InvalidDataException- data was inconsistent
-
getItemID
- Specified by:
getItemIDin interfaceDescriptionObject
-
makeDescCollections
public CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException - Specified by:
makeDescCollectionsin interfaceDescriptionObject- Throws:
InvalidDataExceptionObjectNotFoundException
-
getResourceType
- Specified by:
getResourceTypein interfaceDescriptionObject
-