public class JavaArrayFacet extends CollectionFacetAbstract
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.Validating| Constructor and Description |
|---|
JavaArrayFacet(FacetHolder holder,
AdapterManager adapterManager) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ObjectAdapter> |
collection(ObjectAdapter collectionAdapter)
Expected to be called with a
ObjectAdapter wrapping an array. |
ObjectAdapter |
firstElement(ObjectAdapter collectionAdapter)
Expected to be called with a
ObjectAdapter wrapping an array. |
void |
init(ObjectAdapter collectionAdapter,
ObjectAdapter[] initData)
Expected to be called with a
ObjectAdapter wrapping an array. |
int |
size(ObjectAdapter collectionAdapter)
Expected to be called with a
ObjectAdapter wrapping an array. |
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 JavaArrayFacet(FacetHolder holder, AdapterManager adapterManager)
public void init(ObjectAdapter collectionAdapter, ObjectAdapter[] initData)
ObjectAdapter wrapping an array.public Collection<ObjectAdapter> collection(ObjectAdapter collectionAdapter)
ObjectAdapter wrapping an array.public ObjectAdapter firstElement(ObjectAdapter collectionAdapter)
ObjectAdapter wrapping an array.public int size(ObjectAdapter collectionAdapter)
ObjectAdapter wrapping an array.Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.