public class JavaCollectionFacet extends CollectionFacetAbstract
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
JavaCollectionFacet(FacetHolder holder,
AdapterManager adapterManager) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ObjectAdapter> |
collection(ObjectAdapter wrappedCollection)
Returns an unmodifiable
Collection of ObjectAdapters. |
ObjectAdapter |
firstElement(ObjectAdapter collection) |
void |
init(ObjectAdapter collection,
ObjectAdapter[] initData)
Set the contents of this collection.
|
int |
size(ObjectAdapter collection) |
contains, getTypeOfFacet, iterable, iteratoralwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic JavaCollectionFacet(FacetHolder holder, AdapterManager adapterManager)
public Collection<ObjectAdapter> collection(ObjectAdapter wrappedCollection)
CollectionFacetCollection of ObjectAdapters.public ObjectAdapter firstElement(ObjectAdapter collection)
public int size(ObjectAdapter collection)
public void init(ObjectAdapter collection, ObjectAdapter[] initData)
CollectionFacetCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.