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


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

Annotation for mapping the return value of a (getter) method to file attribute specified on type level. The attribute name is mandatory and is used to identify the attribute. This annotation is very similar to the ExternalLink annotation in terms of supported attributes and underlying representation.

See Also:
ExternalLink

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