public class PropertyRegistrationList extends ArrayList<PropertyRegistration>
modCount| Constructor and Description |
|---|
PropertyRegistrationList(String classCanonName)
Construct a new registration list for properties in a specific top level
class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(PropertyRegistration reg)
Adds a registration using the innerPath specified in the passed registration.
|
boolean |
add(String name)
Adds a property registration with the same path as the previously
added one.
|
boolean |
add(String name,
List<String> innerPath)
Adds a property registration with a specified path.
|
boolean |
add(String name,
String... innerPath)
Adds a property registration with a specified path.
|
String |
getRootCanonicalName()
The root / top level class which contains (either directly or indirectly)
the properties listed within it.
|
void |
sort()
Sorts in lexagraphical order.
|
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic PropertyRegistrationList(String classCanonName)
classCanonName - The fully qualified canonical path of the root class.public String getRootCanonicalName()
public boolean add(PropertyRegistration reg)
add in interface Collection<PropertyRegistration>add in interface List<PropertyRegistration>add in class ArrayList<PropertyRegistration>reg - public boolean add(String name)
name - Name of the AndHow property, which is the name of the variable it
is assigned to at construction.public boolean add(String name, String... innerPath)
name - Name of the AndHow property, which is the name of the variable it
is assigned to at construction.innerPath - public boolean add(String name, List<String> innerPath)
name - Name of the AndHow property, which is the name of the variable it
is assigned to at construction.innerPath - The 'path' of nested inner class/interfaces from outer to innerpublic void sort()
Copyright © 2017. All rights reserved.