public class PropertyList extends java.util.ArrayList<Property>
Property, this class provides way to manage Property
by their name, name and type.| Constructor and Description |
|---|
PropertyList() |
| Modifier and Type | Method and Description |
|---|---|
Property |
getByName(java.lang.String propertyName)
Returns the first
Property in the list which have a given name. |
Property |
getByNameAndByType(java.lang.String propertyName,
int propertyType)
Returns the first
Property in the list which have a given name and a given type. |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizepublic Property getByName(java.lang.String propertyName)
Property in the list which have a given name.The first index is 0.
propertyName - the name of the property to be returned.propertyName as name if exists, null if there isn't or if propertyName is null.public Property getByNameAndByType(java.lang.String propertyName, int propertyType)
Property in the list which have a given name and a given type.
The first index is 0.propertyName - the name of the property to be returned.propertyType - the type of the property to be returned.propertyName as name and propertyType as type if exists, null if there isn't or if propertyName is null.