org.norther.tammi.core.rt
Annotation Type MetaVariableAttributeInfo


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface MetaVariableAttributeInfo

Meta data for variable attribute infos as annotations of static fields.

Version:
$Id: MetaVariableAttributeInfo.java,v 1.4 2009/09/28 15:08:45 cvsimp Exp $
Author:
Ilkka Priha

Optional Element Summary
 boolean cloneable
          Cloneable.
 Class<? extends Comparator<?>> comparator
          The comparator.
 String[] constants
          The constants.
 String[] defaultValue
          The default value.
 boolean descending
          The descending.
 String description
          The description.
 String detail
          The detail.
 String[] enumNames
          The enumeration names.
 String[] enumValues
          The enumeration values.
 String group
          The group.
 boolean interactive
          Interactive.
 String[] listeners
          The listeners.
 boolean mandatory
          Mandatory.
 int maxSize
          The max size.
 String maxValue
          The max value.
 int minSize
          The min size.
 String minValue
          The min value.
 String[] orderBy
          The order by.
 String pattern
          The pattern.
 int position
          The position.
 String qualifier
          The qualifier.
 boolean readable
          Readable.
 boolean serialized
          Serialized.
 String shadow
          The shadow.
 VariableAttributeInfo.Trait[] traits
          The traits.
 boolean writable
          Writable.
 

description

public abstract String description
The description.

Returns:
the description.
Default:
"null"

readable

public abstract boolean readable
Readable.

Returns:
if readable.
Default:
true

writable

public abstract boolean writable
Writable.

Returns:
if writable.
Default:
true

cloneable

public abstract boolean cloneable
Cloneable.

Returns:
if cloneable.
Default:
true

mandatory

public abstract boolean mandatory
Mandatory.

Returns:
if mandatory.
Default:
false

serialized

public abstract boolean serialized
Serialized.

Returns:
if serialized.
Default:
false

interactive

public abstract boolean interactive
Interactive.

Returns:
if interactive.
Default:
false

traits

public abstract VariableAttributeInfo.Trait[] traits
The traits.

Returns:
the traits.
Default:
{}

defaultValue

public abstract String[] defaultValue
The default value.

Returns:
the default value.
Default:
{}

minValue

public abstract String minValue
The min value.

Returns:
the min value.
Default:
"null"

maxValue

public abstract String maxValue
The max value.

Returns:
the max value.
Default:
"null"

minSize

public abstract int minSize
The min size.

Returns:
the min size.
Default:
0

maxSize

public abstract int maxSize
The max size.

Returns:
the max size.
Default:
-1

group

public abstract String group
The group.

Returns:
the group.
Default:
"null"

detail

public abstract String detail
The detail.

Returns:
the detail.
Default:
"null"

pattern

public abstract String pattern
The pattern.

Returns:
the pattern.
Default:
"null"

qualifier

public abstract String qualifier
The qualifier.

Returns:
the qualifier.
Default:
"null"

shadow

public abstract String shadow
The shadow.

Returns:
the shadow.
Default:
"null"

comparator

public abstract Class<? extends Comparator<?>> comparator
The comparator.

Returns:
the comparator.
Default:
org.norther.tammi.acorn.util.VoidComparator.class

orderBy

public abstract String[] orderBy
The order by.

Returns:
the order by.
Default:
{}

descending

public abstract boolean descending
The descending.

Returns:
the descending.
Default:
false

enumNames

public abstract String[] enumNames
The enumeration names.

Returns:
the names.
Default:
{}

enumValues

public abstract String[] enumValues
The enumeration values.

Returns:
the values.
Default:
{}

listeners

public abstract String[] listeners
The listeners.

Returns:
the listeners.
Default:
{}

constants

public abstract String[] constants
The constants.

Returns:
the constants.
Default:
{}

position

public abstract int position
The position.

Returns:
the position.
Default:
-1


Copyright © 2004 The Norther Organization. All rights reserved.