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


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ClassificationAttribute

Annotation for mapping the return value of a (getter) method to classification attribute specified on type level. The attribute name is mandatory and is used to identify the attribute. This annotation is very similar to the Classification annotation in terms of supported attributes and underlying representation. The difference is that the taxonomy is obtained from the attribute description.

See Also:
Classification

Required Element Summary
 java.lang.String attributeName
          Name of the attribute represented by this annotation.
 
Optional Element Summary
 CascadeStyle cascadeStype
          The cascading style for this mapping.
 java.lang.Class<?> targetType
           
 

Element Detail

attributeName

public abstract java.lang.String attributeName
Name of the attribute represented by this annotation.

Returns:
String

cascadeStype

public abstract CascadeStyle cascadeStype
The cascading style for this mapping.

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

targetType

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