Joda System API

org.joda.property.type
Interface CollectionProperty

All Superinterfaces:
java.util.Collection, ModelElement, Property, java.io.Serializable
All Known Subinterfaces:
DataListProperty, LinkListProperty, ListProperty
All Known Implementing Classes:
AbstractListProperty, DefaultDataListProperty, DefaultLinkListProperty

public interface CollectionProperty
extends Property, java.util.Collection

A CollectionProperty is a property which can holds a collection of some kind (list or set).

Author:
Stephen Colebourne

Nested Class Summary
 
Nested classes inherited from class org.joda.property.Property
Property.Internal
 
Method Summary
 java.util.Collection toCollection()
          Get the collection underlying the property.
 
Methods inherited from interface org.joda.property.Property
addPropertyChangeListener, bean, equals, equalsValue, firePropertyChange, getContentName, getContentType, getPropertyName, getPropertyType, hashCode, isModifiable, isNull, isReadOnly, removePropertyChangeListener, set, setModifiable, setReadOnly, toObject, toString
 
Methods inherited from interface org.joda.property.ModelElement
getAttribute, getAttributeCount, getAttributeMap, setAttribute
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

toCollection

public java.util.Collection toCollection()
Get the collection underlying the property.

Returns:
the collection (a copy of the data)

Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.