|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
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.ArrayValueSupport
public class ArrayValueSupport
ArrayValue. TODO tests
Constructor Summary | |
---|---|
ArrayValueSupport(ArrayMetaType metaType)
Create a new ArrayValueSupport. |
|
ArrayValueSupport(ArrayMetaType metaType,
Object value)
Create a new ArrayValueSupport. |
Method Summary | |
---|---|
MetaValue |
clone()
Clone the meta value |
protected String |
deepToString()
|
boolean |
equals(Object obj)
|
int |
getLength()
Get the length of the array. |
ArrayMetaType |
getMetaType()
Get the metatype for this value |
Object |
getValue()
Get the value. |
Object |
getValue(int index)
Get the array element at index. |
int |
hashCode()
|
Iterator<Object> |
iterator()
|
void |
setValue(Object value)
Set the value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayValueSupport(ArrayMetaType metaType)
metaType
- the array meta type
IllegalArgumentException
- for a null array MetaTypepublic ArrayValueSupport(ArrayMetaType metaType, Object value)
metaType
- the array meta typevalue
- the value
IllegalArgumentException
- for a null array MetaTypeMethod Detail |
---|
public ArrayMetaType getMetaType()
MetaValue
getMetaType
in interface ArrayValue
getMetaType
in interface MetaValue
public Object getValue()
getValue
in interface ArrayValue
ArrayValue.getValue(int)
public int getLength()
getLength
in interface ArrayValue
public Object getValue(int index)
ArrayValue
getValue
in interface ArrayValue
index
- - index into the array.
public Iterator<Object> iterator()
iterator
in interface Iterable<Object>
public void setValue(Object value)
value
- the value.public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public MetaValue clone()
MetaValue
clone
in interface MetaValue
clone
in class AbstractMetaValue
protected String deepToString()
|
JBoss Managed Parent POM 2.1.1.SP2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |