|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metatype.api.values.AbstractMetaValue
org.jboss.metatype.api.values.CollectionValueSupport
public class CollectionValueSupport
CollectionValueSupport.
| Constructor Summary | |
|---|---|
CollectionValueSupport(CollectionMetaType metaType)
Create a new CollectionValueSupport. |
|
CollectionValueSupport(CollectionMetaType metaType,
MetaValue[] elements)
Create a new ArrayValueSupport. |
|
| Method Summary | |
|---|---|
MetaValue |
clone()
Clone the meta value |
boolean |
equals(Object obj)
|
MetaValue[] |
getElements()
Get the value. |
CollectionMetaType |
getMetaType()
Get the metatype for this value |
int |
getSize()
Get the size of the collection. |
int |
hashCode()
|
Iterator<MetaValue> |
iterator()
|
void |
setElements(MetaValue[] elements)
Set the value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionValueSupport(CollectionMetaType metaType)
metaType - the collection meta type
IllegalArgumentException - for a null array MetaType
public CollectionValueSupport(CollectionMetaType metaType,
MetaValue[] elements)
metaType - the collection meta typeelements - the elements
IllegalArgumentException - for a null array MetaType| Method Detail |
|---|
public CollectionMetaType getMetaType()
MetaValue
getMetaType in interface CollectionValuegetMetaType in interface MetaValuepublic MetaValue[] getElements()
getElements in interface CollectionValuepublic int getSize()
getSize in interface CollectionValuepublic Iterator<MetaValue> iterator()
iterator in interface Iterable<MetaValue>public void setElements(MetaValue[] elements)
elements - the elements.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic MetaValue clone()
MetaValue
clone in interface MetaValueclone in class AbstractMetaValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||