T - current inner typeC - current collection typepublic abstract class AbstractPropertyMultiValued<T,C extends Collection<T>> extends AbstractProperty<C> implements Collection<T>
| Modifier and Type | Field and Description |
|---|---|
String |
separator
required if should be splip.
|
description, fixedValues, name, type, value| Constructor and Description |
|---|
AbstractPropertyMultiValued()
Default constructor.
|
AbstractPropertyMultiValued(String name)
Constructor by property name.
|
AbstractPropertyMultiValued(String uid,
C value)
Constructor by string expression.
|
AbstractPropertyMultiValued(String uid,
String value)
Constructor by string expression.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e)
Add element to the collection.
|
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
C |
fromString(String v)
Unmarshalling of value for serailized string expression.
|
String |
getSeparator()
Getter accessor for attribute 'separator'.
|
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setSeparator(String separator)
Setter accessor for attribute 'separator'.
|
int |
size() |
Object[] |
toArray() |
<X> X[] |
toArray(X[] a) |
add2FixedValue, add2FixedValueFromString, asBoolean, asDouble, asInt, asString, getDescription, getFixedValues, getName, getType, getValue, parameterizedType, setDescription, setFixedValues, setName, setType, setValue, setValueFromString, toJson, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic String separator
public AbstractPropertyMultiValued()
public AbstractPropertyMultiValued(String name)
name - property namepublic AbstractPropertyMultiValued(String uid, C value)
uid - unique namelvl - current double valuepublic C fromString(String v)
fromString in class AbstractProperty<C extends Collection<T>>v - value represented as a serialized Stringpublic boolean add(T e)
add in interface Collection<T>e - new elementpublic String getSeparator()
public void setSeparator(String separator)
separator - new value for 'separator 'public int size()
size in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <X> X[] toArray(X[] a)
toArray in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T>Copyright © 2013–2015 FF4J. All rights reserved.