public interface CollectionElementDefinition
| Modifier and Type | Method and Description |
|---|---|
CollectionDefinition |
getCollectionDefinition()
Returns the collection definition.
|
Type |
getType()
Returns the collection element type.
|
AnyMappingDefinition |
toAnyMappingDefinition()
|
CompositeCollectionElementDefinition |
toCompositeElementDefinition()
If the element type returned by
getType() is a
CompositeType, then the composite
element definition for the collection element is returned;
otherwise, IllegalStateException is thrown. |
EntityDefinition |
toEntityDefinition()
If the element type returned by
getType() is an
EntityType, then the entity
definition for the collection element is returned;
otherwise, IllegalStateException is thrown. |
CollectionDefinition getCollectionDefinition()
Type getType()
AnyMappingDefinition toAnyMappingDefinition()
getType() is an
AnyType, then the any mapping
definition for the collection element is returned;
otherwise, IllegalStateException is thrown.IllegalStateException - if the collection element type
returned by getType() is not of type
AnyType.EntityDefinition toEntityDefinition()
getType() is an
EntityType, then the entity
definition for the collection element is returned;
otherwise, IllegalStateException is thrown.IllegalStateException - if the collection element type
returned by getType() is not of type
EntityType.CompositeCollectionElementDefinition toCompositeElementDefinition()
getType() is a
CompositeType, then the composite
element definition for the collection element is returned;
otherwise, IllegalStateException is thrown.IllegalStateException - if the collection element type
returned by getType() is not of type
CompositeType.Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.