org.abstracthorizon.danube.beanconsole
Class BeanDef

java.lang.Object
  extended by org.abstracthorizon.danube.beanconsole.BeanDef

public class BeanDef
extends Object

This bean represents a definition of an object or a property

Author:
Daniel Sendula

Field Summary
protected  String access
          Object's or property's acess type
protected  String desc
          Object's or property's description
protected  boolean followable
          Does the object or property contain the reference that can be followed
static int MAX_TYPE_SIZE
          Max type size
static int MAX_VALUE_SIZE
          Max value size
protected  String name
          Object's or property's name
static String NO_ACCESS
          Constant describing no access
static String RO
          Constant describing read only access through bean info
static String RO_RAW
          Constant describing read only access through reflection (no property editors for the type)
static String RW
          Constant describing read/write access through bean info
static String RW_RAW
          Constant describing read/write access through reflection (no property editors for the type)
protected  String shortType
          Object's or property's type shortened to the MAX_TYPE_SIZE characters
protected  String shortValue
          Object's or property's value as an string shortened to the max MAX_VALUE_SIZE characters
protected  String type
          Object's or property's type
protected  String value
          Object's or property's value as an string
static String WO
          Constant describing write only access through bean info
static String WO_RAW
          Constant describing write only access through reflection (no property editors for the type)
 
Constructor Summary
BeanDef(String name, String desc, String type, String access, String value, boolean followable)
          Constructor
 
Method Summary
 String getAccess()
          Returns access
 String getDesc()
          Returns desc
 boolean getFollowable()
          Returns followable flag
 String getName()
          Returns name
 String getShortType()
          Returns short type
 String getShortValue()
          Returns short value
 String getType()
          Returns type
 String getValue()
          Returns value
 boolean isFollowable()
          Returns followable flag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ACCESS

public static final String NO_ACCESS
Constant describing no access

See Also:
Constant Field Values

RO

public static final String RO
Constant describing read only access through bean info

See Also:
Constant Field Values

RW

public static final String RW
Constant describing read/write access through bean info

See Also:
Constant Field Values

WO

public static final String WO
Constant describing write only access through bean info

See Also:
Constant Field Values

RW_RAW

public static final String RW_RAW
Constant describing read/write access through reflection (no property editors for the type)

See Also:
Constant Field Values

RO_RAW

public static final String RO_RAW
Constant describing read only access through reflection (no property editors for the type)

See Also:
Constant Field Values

WO_RAW

public static final String WO_RAW
Constant describing write only access through reflection (no property editors for the type)

See Also:
Constant Field Values

MAX_VALUE_SIZE

public static final int MAX_VALUE_SIZE
Max value size

See Also:
Constant Field Values

MAX_TYPE_SIZE

public static final int MAX_TYPE_SIZE
Max type size

See Also:
Constant Field Values

name

protected String name
Object's or property's name


desc

protected String desc
Object's or property's description


type

protected String type
Object's or property's type


shortType

protected String shortType
Object's or property's type shortened to the MAX_TYPE_SIZE characters


access

protected String access
Object's or property's acess type


value

protected String value
Object's or property's value as an string


shortValue

protected String shortValue
Object's or property's value as an string shortened to the max MAX_VALUE_SIZE characters


followable

protected boolean followable
Does the object or property contain the reference that can be followed

Constructor Detail

BeanDef

public BeanDef(String name,
               String desc,
               String type,
               String access,
               String value,
               boolean followable)
Constructor

Parameters:
name - name
type - type
access - access
value - value
followable - is followable
Method Detail

getName

public String getName()
Returns name

Returns:
name

getDesc

public String getDesc()
Returns desc

Returns:
desc

getType

public String getType()
Returns type

Returns:
type

getShortType

public String getShortType()
Returns short type

Returns:
short type

getAccess

public String getAccess()
Returns access

Returns:
access

getValue

public String getValue()
Returns value

Returns:
value

getShortValue

public String getShortValue()
Returns short value

Returns:
short value

isFollowable

public boolean isFollowable()
Returns followable flag

Returns:
followable flag

getFollowable

public boolean getFollowable()
Returns followable flag

Returns:
followable flag


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.