org.nakedobjects.metamodel.util
Class CollectionFacetUtils
java.lang.Object
org.nakedobjects.metamodel.util.CollectionFacetUtils
public final class CollectionFacetUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCollectionFacetFromSpec
public static CollectionFacet getCollectionFacetFromSpec(NakedObject objectRepresentingCollection)
size
public static int size(NakedObject collection)
firstElement
public static NakedObject firstElement(NakedObject collection)
convertToArray
@Deprecated
public static java.lang.Object[] convertToArray(NakedObject collection)
- Deprecated. - use instead
convertToList(NakedObject).
convertToList
public static java.util.List<java.lang.Object> convertToList(NakedObject collection)
convertToAdapterList
public static java.util.List<NakedObject> convertToAdapterList(NakedObject collection)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.