com.softwareag.centrasite.appl.framework.persistence.mapper.annotations
Annotation Type Classification


@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface Classification

Annotation for mapping the return value of a (getter) method to JAXR 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:


Optional Element Summary
 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
           
 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
           
 

classificationScheme

public abstract java.lang.String classificationScheme
The name of the classification scheme for this classification.

Default:
""

parentConcept

public abstract java.lang.String parentConcept
The parent is used in case this classification is of type enumeration.

Default:
""

parentConceptKey

public abstract java.lang.String parentConceptKey
The key of the parent concept for this classification's concept.

Default:
""

conceptPath

public abstract java.lang.String conceptPath
The path of this classification's concept.

Default:
""

conceptKey

public abstract java.lang.String conceptKey
The key of this classification's concept.

Default:
""

targetType

public abstract java.lang.Class<?> targetType
Returns:
The type of the mapped bean.
Default:
java.lang.Object.class

mappedTo

public abstract Classification.MappedTo mappedTo
Returns:
The mapping strategy. Specifies if the property value should be mapped to the concept of the classification or the classification itself.
Default:
com.softwareag.centrasite.appl.framework.persistence.mapper.annotations.Classification.MappedTo.CLASSIFICATION_OBJECT

cascadeStype

public abstract CascadeStyle cascadeStype
The cascading style for this mapping.

Returns:
CascadeStyle
Default:
com.softwareag.centrasite.appl.framework.mapping.CascadeStyle.NONE