@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface Classification
Classification
. Both key or name/paths
can be used to specify the classification. If both are present the key
properties take precedence. The Annotation support following types of
classification:
RegistryObject
defined by a Concept
identified by a key or
pathRegistryObject
defined by a Concept
identified by a parent
Concept
- key or path. When the parent of the required concepts is
directly the classification scheme, then for the "parentConcept" attribute of
this annotation specify "/".
Modifier and Type | Optional Element and Description |
---|---|
CascadeStyle |
cascadeStype
The cascading style for this mapping.
|
java.lang.String |
classificationScheme
The name of the classification scheme for this classification.
|
java.lang.String |
conceptKey
The key of this classification's concept.
|
java.lang.String |
conceptPath
The path of this classification's concept.
|
Classification.MappedTo |
mappedTo
Gets the mapping strategy.
|
java.lang.String |
parentConcept
The parent is used in case this classification is of type enumeration.
|
java.lang.String |
parentConceptKey
The key of the parent concept for this classification's concept.
|
java.lang.Class<?> |
targetType
The type of the mapped bean.
|
public abstract java.lang.String classificationScheme
public abstract java.lang.String parentConcept
public abstract java.lang.String parentConceptKey
public abstract java.lang.String conceptPath
public abstract java.lang.String conceptKey
public abstract java.lang.Class<?> targetType
Object
class.Class
public abstract Classification.MappedTo mappedTo
Classification.MappedTo.CLASSIFICATION_OBJECT
.public abstract CascadeStyle cascadeStype
CascadeStyle.NONE
.CascadeStyle