public class CollectionMetadataImpl extends Object implements MutableCollectionMetadata
| Constructor and Description |
|---|
CollectionMetadataImpl() |
CollectionMetadataImpl(Class collectionClass,
String valueType,
List<Metadata> values) |
CollectionMetadataImpl(CollectionMetadata source) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public CollectionMetadataImpl()
public CollectionMetadataImpl(Class collectionClass, String valueType, List<Metadata> values)
public CollectionMetadataImpl(CollectionMetadata source)
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()
CollectionMetadatagetValues in interface CollectionMetadatapublic void addValue(Metadata value)
addValue in interface MutableCollectionMetadatapublic void removeValue(Metadata value)
removeValue in interface MutableCollectionMetadataCopyright © 2013. All rights reserved.