|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.property.ICalProperty
biweekly.property.ListProperty<T>
T
- the value typepublic class ListProperty<T>
Represents a property whose value is a list of values.
Field Summary |
---|
Fields inherited from class biweekly.property.ICalProperty |
---|
parameters |
Constructor Summary | |
---|---|
ListProperty()
Creates a new list property. |
|
ListProperty(List<T> values)
Creates a new list property. |
|
ListProperty(T... values)
Creates a new list property. |
Method Summary | |
---|---|
void |
addValue(T value)
Adds a value to this property. |
List<T> |
getValues()
Gets the values of this property. |
protected void |
validate(List<ICalComponent> components,
List<String> warnings)
Checks the property for data consistency problems or deviations from the spec. |
Methods inherited from class biweekly.property.ICalProperty |
---|
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListProperty()
public ListProperty(T... values)
values
- the values to initialize the property withpublic ListProperty(List<T> values)
values
- the values to initialize the property withMethod Detail |
---|
public void addValue(T value)
value
- the value to addpublic List<T> getValues()
protected void validate(List<ICalComponent> components, List<String> warnings)
ICalProperty
validate
in class ICalProperty
components
- the hierarchy of components that the property belongs
towarnings
- the list to add the warnings to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |