org.beanlet
Annotation Type Value


@Retention(value=RUNTIME)
@Target(value={})
public @interface Value

Defines an object.

See Also:
Value

Optional Element Summary
 boolean empty
          Returns true if this value represents an empty string.
 boolean nill
          Returns true if this value represents null.
 String ref
          Returns the name of the beanlet represented by this value.
 Class<?> type
          Value type.
 String value
          String representation of the value.
 

value

public abstract String value
String representation of the value.

Default:
""

type

public abstract Class<?> type
Value type.

Default:
java.lang.Object.class

ref

public abstract String ref
Returns the name of the beanlet represented by this value.

Default:
""

nill

public abstract boolean nill
Returns true if this value represents null.

Default:
false

empty

public abstract boolean empty
Returns true if this value represents an empty string.

Default:
false


Copyright © 2006-2012. All Rights Reserved.