Package net.anotheria.anodoc.data
Class Document
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,IBasicStoreableObject,ICompositeDataObject
- Direct Known Subclasses:
AbstractASGDocument,IDHolder
public class Document extends DataHolder implements ICompositeDataObject, java.lang.Cloneable
This class represents a basic document, which is a container for properties and therefore a corresponding modell object to a simple class (with attributes).- Since:
- 1.0
- Version:
- $Id: $Id
- Author:
- lrosenberg
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROP_AUTHORConstant for property name of the property under which Author is stored.static java.lang.StringPROP_LAST_UPDATEConstant for property name of the property under which last update timestamp is stored.static java.lang.StringPROP_TYPE_IDENTIFIERConstant used to save type_identifier as internal property name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDataHolder(DataHolder holder)Puts the given DataHolder (which can be a document, a list or a property) in the internal storage.java.lang.Objectclone()clone.protected java.util.List<Property>copyFromBooleanList(java.util.List<java.lang.Boolean> booleans)copyFromBooleanList.protected java.util.List<Property>copyFromDoubleList(java.util.List<java.lang.Double> doubles)copyFromDoubleList.protected java.util.List<Property>copyFromFloatList(java.util.List<java.lang.Float> floats)copyFromFloatList.protected java.util.List<Property>copyFromIntegerList(java.util.List<java.lang.Integer> integers)copyFromIntegerList.protected java.util.List<Property>copyFromLongList(java.util.List<java.lang.Long> longs)copyFromLongList.protected java.util.List<Property>copyFromStringList(java.util.List<java.lang.String> strings)copyFromStringList.protected java.util.List<java.lang.Boolean>copyToBooleanList(java.util.List<Property> properties)copyToBooleanList.protected java.util.List<java.lang.Double>copyToDoubleList(java.util.List<Property> properties)copyToDoubleList.protected java.util.List<java.lang.Float>copyToFloatList(java.util.List<Property> properties)copyToFloatList.protected java.util.List<java.lang.Integer>copyToIntegerList(java.util.List<Property> properties)copyToIntegerList.protected java.util.List<java.lang.Long>copyToLongList(java.util.List<Property> properties)copyToLongList.protected java.util.List<java.lang.String>copyToStringList(java.util.List<Property> properties)copyToStringList.protected DocumentcreateDocument(java.lang.String name)Creates a new Document.protected <D extends Document>
DocumentList<D>createDocumentList(java.lang.String name)Creates a new DocumentList.protected ListPropertycreateListProperty(java.lang.String name)createListProperty.java.lang.StringgetAuthor()getAuthor.booleangetBoolean(java.lang.String fieldId)Returns the boolean value of the according BooleanProperty, or an empty boolean (see getEmptyBoolean) if none set.BooleanPropertygetBooleanProperty(java.lang.String name)Returns the BooleanProperty contained in this Document under the given name.DataHoldergetDataHolder(java.lang.String name)Returns the DataHolder contained in this Document under the given name.DocumentgetDocument(java.lang.String name)Returns the Document contained in this Document under the given name.protected DocumentgetDocumentAnyCase(java.lang.String name)Returns the Document contained in this Document under the given name in any case, which means that if no Document is contained it a new will be created.<D extends Document>
DocumentList<D>getDocumentList(java.lang.String name)Returns the DocumentList contained in this Document under the given name.protected <D extends Document>
DocumentList<D>getDocumentListAnyCase(java.lang.String name)Returns the DocumentList contained in this Document under the given name in any case, which means that if no DocumentList is contained it a new will be created.doublegetDouble(java.lang.String fieldId)Returns the double value of the according DoubleProperty, or an empty double (see getEmptyDouble) if none set.DoublePropertygetDoubleProperty(java.lang.String name)Returns the DoubleProperty contained in this Document under the given name.booleangetEmptyBoolean()Returns the initial value for a boolean (false).doublegetEmptyDouble()Returns the initial value for a double (0.0).floatgetEmptyFloat()Returns the initial value for a float (0.0).intgetEmptyInt()Returns the initial value for a int (0).java.util.List<Property>getEmptyList()getEmptyList.longgetEmptyLong()Returns the initial value for a long (0).java.lang.StringgetEmptyString()Returns the initial value for a string (empty string - "").floatgetFloat(java.lang.String fieldId)Returns the float value of the according FloatProperty, or an empty float (see getEmptyFloat) if none set.FloatPropertygetFloatProperty(java.lang.String name)Returns the FloatProperty contained in this Document under the given name.intgetInt(java.lang.String fieldId)Returns the int value of the according IntProperty, or an empty int (see getEmptyInt) if none set.IntPropertygetIntProperty(java.lang.String name)Returns the IntProperty contained in this Document under the given name.java.util.Enumeration<java.lang.String>getKeys()Returns the keys (names) of the contained documents.longgetLastUpdateTimestamp()getLastUpdateTimestamp.java.util.List<Property>getList(java.lang.String fieldId)Returns list of Property by fieldId.ListPropertygetListProperty(java.lang.String name)Returns the ListProperty contained in this Document under the given name.protected ListPropertygetListPropertyAnyCase(java.lang.String name)getListPropertyAnyCase.longgetLong(java.lang.String fieldId)Returns the long value of the according LongProperty, or an empty long (see getEmptyLong) if none set.LongPropertygetLongProperty(java.lang.String name)Returns the LongProperty contained in this Document under the given name.java.lang.ObjectgetObject(java.lang.String key)This method is used by the storage to save not only the container, but the underlying data too.java.util.List<Property>getProperties()Returns a list of all contained properties.PropertygetProperty(java.lang.String name)Returns the Property contained in this Document under the given name.java.lang.ObjectgetPropertyValue(java.lang.String propertyName)getPropertyValue.longgetSizeInBytes()Returns the cumulative size of the contained DataHolders.java.lang.StringgetStorageId()Returns the storage id which should be used by a storage to store this document.java.lang.StringgetString(java.lang.String fieldId)Returns the string value of the according StringProperty, or empty string (see getEmptyString) if none set.StringPropertygetStringProperty(java.lang.String name)Returns the StringProperty contained in this Document under the given name.java.lang.StringgetTypeIdentifier()Returns the type identifier of this document.voidputBooleanProperty(BooleanProperty p)Puts the given BooleanProperty in the internal storage.voidputDocument(Document doc)Puts the given Document in the internal storage.voidputDoubleProperty(DoubleProperty p)Puts the given FloatProperty in the internal storage.voidputFloatProperty(FloatProperty p)Puts the given FloatProperty in the internal storage.voidputIntProperty(IntProperty p)Puts the given IntProperty in the internal storage.voidputList(DocumentList<? extends Document> list)Puts the given DocumentList in the internal storage.voidputListProperty(ListProperty p)Puts the given ListProperty in the internal storage.voidputLongProperty(LongProperty p)Puts the given LongProperty in the internal storage.voidputProperty(Property p)Puts the given Property in the internal storage.voidputStringProperty(StringProperty p)Puts the given StringProperty in the internal storage.protected voidremoveDataHolder(java.lang.String id)removeDataHolder.protected voidremoveDataHolder(DataHolder holder)removeDataHolder.voidremoveProperty(java.lang.String propertyName)removeProperty.voidremoveProperty(Property p)removeProperty.voidrenameTo(java.lang.String newId)renameTo.voidsetBoolean(java.lang.String fieldId, boolean value)Sets a BooleangProperty with name = fieldId and value = value in this document.voidsetCallContextAuthor()setCallContextAuthor.voidsetDouble(java.lang.String fieldId, double value)Sets a FloatProperty with name = fieldId and value = value in this document.voidsetFloat(java.lang.String fieldId, float value)Sets a FloatProperty with name = fieldId and value = value in this document.voidsetInt(java.lang.String fieldId, int value)Sets a IntProperty with name = fieldId and value = value in this document.voidsetLastUpdateNow()setLastUpdateNow.voidsetList(java.lang.String fieldId, java.util.List<Property> value)setList.voidsetLong(java.lang.String fieldId, long value)Sets a LongProperty with name = fieldId and value = value in this document.voidsetString(java.lang.String fieldId, java.lang.String value)Sets a StringProperty with name = fieldId and value = value in this document.voidsetTypeIdentifier(java.lang.String anIdentifier)Sets the type identifier for this document.java.lang.StringtoString()Returns the string representation of this document.net.anotheria.util.xml.XMLNodetoXMLNode()toXMLNode.-
Methods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setId
-
-
-
-
Field Detail
-
PROP_TYPE_IDENTIFIER
public static final java.lang.String PROP_TYPE_IDENTIFIER
Constant used to save type_identifier as internal property name.- See Also:
- Constant Field Values
-
PROP_LAST_UPDATE
public static final java.lang.String PROP_LAST_UPDATE
Constant for property name of the property under which last update timestamp is stored.- See Also:
- Constant Field Values
-
PROP_AUTHOR
public static final java.lang.String PROP_AUTHOR
Constant for property name of the property under which Author is stored.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Document
public Document(java.lang.String id)
Creates a new Document with given name.- Parameters:
id- aStringobject.
-
Document
public Document(Document anotherDocument)
Creates a new document as a copy of another document.- Parameters:
anotherDocument- the document to be copied
-
-
Method Detail
-
getDataHolder
public DataHolder getDataHolder(java.lang.String name) throws NoSuchDataHolderException
Returns the DataHolder contained in this Document under the given name. A document can contain properties, documents and lists.- Parameters:
name- of DataHolder- Returns:
- DataHolder
- Throws:
NoSuchDataHolderException- if any.- See Also:
NoSuchDataHolderException
-
getDocument
public Document getDocument(java.lang.String name) throws NoSuchDocumentException
Returns the Document contained in this Document under the given name.- Parameters:
name- of Document- Returns:
- Document
- Throws:
NoSuchDocumentException- if any.- See Also:
NoSuchDocumentException
-
getProperties
public java.util.List<Property> getProperties()
Returns a list of all contained properties.- Returns:
- properties
-
getDocumentList
public <D extends Document> DocumentList<D> getDocumentList(java.lang.String name)
Returns the DocumentList contained in this Document under the given name.- Type Parameters:
D- a D object.- Parameters:
name- of DocumentList- Returns:
- DocumentList
- Throws:
NoSuchDocumentListException
-
getProperty
public Property getProperty(java.lang.String name) throws NoSuchPropertyException
Returns the Property contained in this Document under the given name.- Parameters:
name- of property- Returns:
- Property
- Throws:
NoSuchPropertyException- if any.
-
getIntProperty
public IntProperty getIntProperty(java.lang.String name) throws NoSuchPropertyException
Returns the IntProperty contained in this Document under the given name.- Parameters:
name- of property- Returns:
- IntProperty
- Throws:
NoSuchPropertyException- if any.
-
getLongProperty
public LongProperty getLongProperty(java.lang.String name) throws NoSuchPropertyException
Returns the LongProperty contained in this Document under the given name.- Parameters:
name- of property- Returns:
- LongProperty
- Throws:
NoSuchPropertyException- if any.
-
getStringProperty
public StringProperty getStringProperty(java.lang.String name) throws NoSuchPropertyException
Returns the StringProperty contained in this Document under the given name.- Parameters:
name- of StringProperty- Returns:
- StringProperty
- Throws:
NoSuchPropertyException- if any.
-
getBooleanProperty
public BooleanProperty getBooleanProperty(java.lang.String name) throws NoSuchPropertyException
Returns the BooleanProperty contained in this Document under the given name.- Parameters:
name- of BooleanProperty- Returns:
- BooleanProperty
- Throws:
NoSuchPropertyException- if any.
-
getListProperty
public ListProperty getListProperty(java.lang.String name) throws NoSuchPropertyException
Returns the ListProperty contained in this Document under the given name.- Parameters:
name- of ListProperty- Returns:
- ListProperty
- Throws:
NoSuchPropertyException- if any.
-
getFloatProperty
public FloatProperty getFloatProperty(java.lang.String name) throws NoSuchPropertyException
Returns the FloatProperty contained in this Document under the given name.- Parameters:
name- of FloatProperty- Returns:
- FloatProperty
- Throws:
NoSuchPropertyException- if any.
-
getDoubleProperty
public DoubleProperty getDoubleProperty(java.lang.String name) throws NoSuchPropertyException
Returns the DoubleProperty contained in this Document under the given name.- Parameters:
name- of DoubleProperty- Returns:
- DoubleProperty
- Throws:
NoSuchPropertyException- if any.
-
getDocumentListAnyCase
protected <D extends Document> DocumentList<D> getDocumentListAnyCase(java.lang.String name)
Returns the DocumentList contained in this Document under the given name in any case, which means that if no DocumentList is contained it a new will be created. This function is protected because it implies very much knowledge about the module structure and shouldn't be called from outside a document.- Type Parameters:
D- a D object.- Parameters:
name- of Document- Returns:
- DocumentList
- See Also:
NoSuchDocumentListException
-
getDocumentAnyCase
protected Document getDocumentAnyCase(java.lang.String name)
Returns the Document contained in this Document under the given name in any case, which means that if no Document is contained it a new will be created. This function is protected because it implies very much knowledge about the module structure and shouldn't be called from outside a document.- Parameters:
name- of document- Returns:
- Doucument
- See Also:
NoSuchDocumentException
-
getListPropertyAnyCase
protected ListProperty getListPropertyAnyCase(java.lang.String name)
getListPropertyAnyCase.
- Parameters:
name- aStringobject.- Returns:
- a
ListPropertyobject.
-
createDocumentList
protected <D extends Document> DocumentList<D> createDocumentList(java.lang.String name)
Creates a new DocumentList. Overwrite this, if your document uses special lists. Called by getDocumentListAnyCase- Type Parameters:
D- a D object.- Parameters:
name- aStringobject.- Returns:
- a
DocumentListobject.
-
createDocument
protected Document createDocument(java.lang.String name)
Creates a new Document. Overwrite this, if your document uses special subdocuments (which should almost ever be the case). Called by getDocumentAnyCase- Parameters:
name- aStringobject.- Returns:
- a
Documentobject.
-
createListProperty
protected ListProperty createListProperty(java.lang.String name)
createListProperty.
- Parameters:
name- aStringobject.- Returns:
- a
ListPropertyobject.
-
removeDataHolder
protected void removeDataHolder(DataHolder holder)
removeDataHolder.
- Parameters:
holder- aDataHolderobject.
-
removeDataHolder
protected void removeDataHolder(java.lang.String id)
removeDataHolder.
- Parameters:
id- aStringobject.
-
addDataHolder
protected void addDataHolder(DataHolder holder)
Puts the given DataHolder (which can be a document, a list or a property) in the internal storage.- Parameters:
holder- aDataHolderobject.
-
putStringProperty
public void putStringProperty(StringProperty p)
Puts the given StringProperty in the internal storage.- Parameters:
p- aStringPropertyobject.
-
putIntProperty
public void putIntProperty(IntProperty p)
Puts the given IntProperty in the internal storage.- Parameters:
p- aIntPropertyobject.
-
putLongProperty
public void putLongProperty(LongProperty p)
Puts the given LongProperty in the internal storage.- Parameters:
p- aLongPropertyobject.
-
putBooleanProperty
public void putBooleanProperty(BooleanProperty p)
Puts the given BooleanProperty in the internal storage.- Parameters:
p- aBooleanPropertyobject.
-
putListProperty
public void putListProperty(ListProperty p)
Puts the given ListProperty in the internal storage.- Parameters:
p- aListPropertyobject.
-
putFloatProperty
public void putFloatProperty(FloatProperty p)
Puts the given FloatProperty in the internal storage.- Parameters:
p- aFloatPropertyobject.
-
putDoubleProperty
public void putDoubleProperty(DoubleProperty p)
Puts the given FloatProperty in the internal storage.- Parameters:
p- aDoublePropertyobject.
-
putProperty
public void putProperty(Property p)
Puts the given Property in the internal storage.- Parameters:
p- aPropertyobject.
-
removeProperty
public void removeProperty(Property p)
removeProperty.
- Parameters:
p- aPropertyobject.
-
removeProperty
public void removeProperty(java.lang.String propertyName)
removeProperty.
- Parameters:
propertyName- aStringobject.
-
putDocument
public void putDocument(Document doc)
Puts the given Document in the internal storage.- Parameters:
doc- aDocumentobject.
-
putList
public void putList(DocumentList<? extends Document> list)
Puts the given DocumentList in the internal storage.- Parameters:
list- aDocumentListobject.
-
toString
public java.lang.String toString()
Returns the string representation of this document.- Overrides:
toStringin classjava.lang.Object
-
getKeys
public java.util.Enumeration<java.lang.String> getKeys()
Returns the keys (names) of the contained documents.- Specified by:
getKeysin interfaceICompositeDataObject- Returns:
- a
Enumerationobject. - See Also:
ICompositeDataObject.getKeys()
-
getObject
public java.lang.Object getObject(java.lang.String key)
This method is used by the storage to save not only the container, but the underlying data too. It's also used by debug or administration programs to trace a composite object, such as Document. Returns the contained object stored under given key.- Specified by:
getObjectin interfaceICompositeDataObject- Parameters:
key- the key (id) of the contained element/object.- Returns:
- the object associated to the key.
- See Also:
ICompositeDataObject.getObject(String)
-
getStorageId
public java.lang.String getStorageId()
Returns the storage id which should be used by a storage to store this document.- Specified by:
getStorageIdin interfaceIBasicStoreableObject- Returns:
- a
Stringobject. - See Also:
IBasicStoreableObject.getStorageId()
-
getTypeIdentifier
public java.lang.String getTypeIdentifier()
Returns the type identifier of this document.- Returns:
- a
Stringobject.
-
setTypeIdentifier
public void setTypeIdentifier(java.lang.String anIdentifier)
Sets the type identifier for this document. The type identifier is especially useful for queries and factory-reassembling.- Parameters:
anIdentifier- aStringobject.
-
getString
public java.lang.String getString(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the string value of the according StringProperty, or empty string (see getEmptyString) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- a
Stringobject. - Throws:
NoSuchPropertyException- if any.
-
getLong
public long getLong(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the long value of the according LongProperty, or an empty long (see getEmptyLong) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- long value
- Throws:
NoSuchPropertyException- if any.
-
getInt
public int getInt(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the int value of the according IntProperty, or an empty int (see getEmptyInt) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- int value
- Throws:
NoSuchPropertyException- if any.
-
getList
public java.util.List<Property> getList(java.lang.String fieldId) throws NoSuchPropertyException
Returns list of Property by fieldId.- Parameters:
fieldId- fieldId- Returns:
- list of Property or empty list if no Property was found by diven fieldId
- Throws:
NoSuchPropertyException- if any.
-
getFloat
public float getFloat(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the float value of the according FloatProperty, or an empty float (see getEmptyFloat) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- float value of FloatProperty
- Throws:
NoSuchPropertyException- if any.
-
getDouble
public double getDouble(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the double value of the according DoubleProperty, or an empty double (see getEmptyDouble) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- double value of DoubleProperty
- Throws:
NoSuchPropertyException- if any.
-
getBoolean
public boolean getBoolean(java.lang.String fieldId) throws NoSuchPropertyExceptionReturns the boolean value of the according BooleanProperty, or an empty boolean (see getEmptyBoolean) if none set.- Parameters:
fieldId- aStringobject.- Returns:
- boolean value
- Throws:
NoSuchPropertyException- if any.
-
setList
public void setList(java.lang.String fieldId, java.util.List<Property> value)setList.
- Parameters:
fieldId- aStringobject.value- aListobject.
-
setString
public void setString(java.lang.String fieldId, java.lang.String value)Sets a StringProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- aStringobject.
-
setLong
public void setLong(java.lang.String fieldId, long value)Sets a LongProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- a long.
-
setInt
public void setInt(java.lang.String fieldId, int value)Sets a IntProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- a int.
-
setFloat
public void setFloat(java.lang.String fieldId, float value)Sets a FloatProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- a float.
-
setDouble
public void setDouble(java.lang.String fieldId, double value)Sets a FloatProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- a double.
-
setBoolean
public void setBoolean(java.lang.String fieldId, boolean value)Sets a BooleangProperty with name = fieldId and value = value in this document.- Parameters:
fieldId- aStringobject.value- a boolean.
-
getEmptyString
public java.lang.String getEmptyString()
Returns the initial value for a string (empty string - ""). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- ""
-
getEmptyLong
public long getEmptyLong()
Returns the initial value for a long (0). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- 0
-
getEmptyInt
public int getEmptyInt()
Returns the initial value for a int (0). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- 0
-
getEmptyFloat
public float getEmptyFloat()
Returns the initial value for a float (0.0). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- 0
-
getEmptyDouble
public double getEmptyDouble()
Returns the initial value for a double (0.0). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- 0.0
-
getEmptyBoolean
public boolean getEmptyBoolean()
Returns the initial value for a boolean (false). Overwrite it if you wish another values. An empty value will always be returned if you call get'Type' and the corresponding property doesn't exists.- Returns:
- false
-
getEmptyList
public java.util.List<Property> getEmptyList()
getEmptyList.
- Returns:
- a
Listobject.
-
getSizeInBytes
public long getSizeInBytes()
Returns the cumulative size of the contained DataHolders.- Specified by:
getSizeInBytesin classDataHolder- Returns:
- size of the contained DataHolders
- See Also:
DataHolder.getSizeInBytes()
-
renameTo
public void renameTo(java.lang.String newId)
renameTo.
- Parameters:
newId- aStringobject.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionclone.
- Overrides:
clonein classDataHolder- Returns:
- a
Objectobject. - Throws:
java.lang.CloneNotSupportedException- if any.
-
toXMLNode
public net.anotheria.util.xml.XMLNode toXMLNode()
toXMLNode.
- Overrides:
toXMLNodein classDataHolder- Returns:
- a
XMLNodeobject.
-
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String propertyName)
getPropertyValue.
- Parameters:
propertyName- aStringobject.- Returns:
- a
Objectobject.
-
setLastUpdateNow
public void setLastUpdateNow()
setLastUpdateNow.
-
getLastUpdateTimestamp
public long getLastUpdateTimestamp()
getLastUpdateTimestamp.
- Returns:
- a long.
-
setCallContextAuthor
public void setCallContextAuthor()
setCallContextAuthor.
-
getAuthor
public java.lang.String getAuthor()
getAuthor.
- Returns:
- a
Stringobject.
-
copyToStringList
protected java.util.List<java.lang.String> copyToStringList(java.util.List<Property> properties)
copyToStringList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromStringList
protected java.util.List<Property> copyFromStringList(java.util.List<java.lang.String> strings)
copyFromStringList.
- Parameters:
strings- aListobject.- Returns:
- a
Listobject.
-
copyToIntegerList
protected java.util.List<java.lang.Integer> copyToIntegerList(java.util.List<Property> properties)
copyToIntegerList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromIntegerList
protected java.util.List<Property> copyFromIntegerList(java.util.List<java.lang.Integer> integers)
copyFromIntegerList.
- Parameters:
integers- aListobject.- Returns:
- a
Listobject.
-
copyToLongList
protected java.util.List<java.lang.Long> copyToLongList(java.util.List<Property> properties)
copyToLongList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromLongList
protected java.util.List<Property> copyFromLongList(java.util.List<java.lang.Long> longs)
copyFromLongList.
- Parameters:
longs- aListobject.- Returns:
- a
Listobject.
-
copyToBooleanList
protected java.util.List<java.lang.Boolean> copyToBooleanList(java.util.List<Property> properties)
copyToBooleanList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromBooleanList
protected java.util.List<Property> copyFromBooleanList(java.util.List<java.lang.Boolean> booleans)
copyFromBooleanList.
- Parameters:
booleans- aListobject.- Returns:
- a
Listobject.
-
copyToDoubleList
protected java.util.List<java.lang.Double> copyToDoubleList(java.util.List<Property> properties)
copyToDoubleList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromDoubleList
protected java.util.List<Property> copyFromDoubleList(java.util.List<java.lang.Double> doubles)
copyFromDoubleList.
- Parameters:
doubles- aListobject.- Returns:
- a
Listobject.
-
copyToFloatList
protected java.util.List<java.lang.Float> copyToFloatList(java.util.List<Property> properties)
copyToFloatList.
- Parameters:
properties- aListobject.- Returns:
- a
Listobject.
-
copyFromFloatList
protected java.util.List<Property> copyFromFloatList(java.util.List<java.lang.Float> floats)
copyFromFloatList.
- Parameters:
floats- aListobject.- Returns:
- a
Listobject.
-
-