|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.blueprint.reflect.CollectionMetadataImpl
public class CollectionMetadataImpl
Implementation of CollectionMetadata
| Constructor Summary | |
|---|---|
CollectionMetadataImpl()
|
|
CollectionMetadataImpl(Class collectionClass,
String valueType,
List<Metadata> values)
|
|
CollectionMetadataImpl(CollectionMetadata source)
|
|
| Method Summary | |
|---|---|
void |
addValue(Metadata value)
|
Class |
getCollectionClass()
Return the type of the collection. |
List<Metadata> |
getValues()
Return Metadata for the values of the collection. |
String |
getValueType()
Return the type specified for the values of the collection. |
void |
removeValue(Metadata value)
|
void |
setCollectionClass(Class collectionClass)
|
void |
setValues(List<Metadata> values)
|
void |
setValueType(String valueType)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionMetadataImpl()
public CollectionMetadataImpl(Class collectionClass,
String valueType,
List<Metadata> values)
public CollectionMetadataImpl(CollectionMetadata source)
| Method Detail |
|---|
public Class getCollectionClass()
CollectionMetadataObject[]), Set,
and List. This information is specified in the element name.
getCollectionClass in interface CollectionMetadataObject[] is returned to
indicate an array.public void setCollectionClass(Class collectionClass)
setCollectionClass in interface MutableCollectionMetadatapublic String getValueType()
CollectionMetadatavalue-type attribute specified this information.
getValueType in interface CollectionMetadatapublic void setValueType(String valueType)
setValueType in interface MutableCollectionMetadatapublic List<Metadata> getValues()
CollectionMetadata
getValues in interface CollectionMetadatapublic void setValues(List<Metadata> values)
public void addValue(Metadata value)
addValue in interface MutableCollectionMetadatapublic void removeValue(Metadata value)
removeValue in interface MutableCollectionMetadatapublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||