class SimpleCollectionMetadata extends java.lang.Object implements CollectionMetadata
CollectionMetadata implementation.| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleCollectionMetadata.CollectionType |
| Modifier and Type | Field and Description |
|---|---|
private SimpleCollectionMetadata.CollectionType |
collectionType |
private java.lang.String |
typeName |
private java.util.List<Metadata> |
values |
| Constructor and Description |
|---|
SimpleCollectionMetadata(java.util.List<Metadata> values,
java.lang.Class<?> type,
java.lang.String valueTypeName) |
SimpleCollectionMetadata(java.util.List<Metadata> values,
SimpleCollectionMetadata.CollectionType type,
java.lang.String valueTypeName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
getCollectionClass()
Return the type of the collection.
|
java.util.List<Metadata> |
getValues()
Return Metadata for the values of the collection.
|
java.lang.String |
getValueType()
Return the type specified for the values of the collection.
|
private final java.util.List<Metadata> values
private final SimpleCollectionMetadata.CollectionType collectionType
private final java.lang.String typeName
public SimpleCollectionMetadata(java.util.List<Metadata> values, SimpleCollectionMetadata.CollectionType type, java.lang.String valueTypeName)
public SimpleCollectionMetadata(java.util.List<Metadata> values, java.lang.Class<?> type, java.lang.String valueTypeName)
public java.lang.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 java.lang.String getValueType()
CollectionMetadatavalue-type attribute specified this information.getValueType in interface CollectionMetadatapublic java.util.List<Metadata> getValues()
CollectionMetadatagetValues in interface CollectionMetadata