org.jboss.managed.api
Interface Fields

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultFieldsImpl, ManagementProperty.NULL_FIELDS_FACTORY

public interface Fields
extends Serializable

Fields. TODO the fields names should be annotation class names (where relevant) when the annotations exist

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static String ANNOTATIONS
          The annotations associated with the property
static String ATTACHMENT
          The attachment
static String DESCRIPTION
          The description field name
static String LEGAL_VALUES
          The legal values
static String MANDATORY
          The mandatory
static String MAPPED_NAME
          The mapped name field name
static String MAXIMUM_VALUE
          The maximum value
static String META_TYPE
          The meta type field name
static String MINIMUM_VALUE
          The minimum value
static String NAME
          The name field name
static String PROPERTY_INFO
          The PropertyInfo info for the ManagedObject attachment
static String VALUE
          The value
 
Method Summary
 Serializable getField(String name)
          Get a field with the given name
 void setField(String name, Serializable value)
          Set a field with the given name
 

Field Detail

NAME

static final String NAME
The name field name

See Also:
Constant Field Values

MAPPED_NAME

static final String MAPPED_NAME
The mapped name field name

See Also:
Constant Field Values

DESCRIPTION

static final String DESCRIPTION
The description field name

See Also:
Constant Field Values

META_TYPE

static final String META_TYPE
The meta type field name

See Also:
Constant Field Values

VALUE

static final String VALUE
The value

See Also:
Constant Field Values

LEGAL_VALUES

static final String LEGAL_VALUES
The legal values

See Also:
Constant Field Values

MINIMUM_VALUE

static final String MINIMUM_VALUE
The minimum value

See Also:
Constant Field Values

MAXIMUM_VALUE

static final String MAXIMUM_VALUE
The maximum value

See Also:
Constant Field Values

MANDATORY

static final String MANDATORY
The mandatory

See Also:
Constant Field Values

PROPERTY_INFO

static final String PROPERTY_INFO
The PropertyInfo info for the ManagedObject attachment

See Also:
Constant Field Values

ANNOTATIONS

static final String ANNOTATIONS
The annotations associated with the property

See Also:
Constant Field Values

ATTACHMENT

static final String ATTACHMENT
The attachment

See Also:
Constant Field Values
Method Detail

getField

Serializable getField(String name)
Get a field with the given name

Parameters:
name - the name
Returns:
the field value

setField

void setField(String name,
              Serializable value)
Set a field with the given name

Parameters:
name - the name
value - the field value


Copyright © 2008 JBoss Inc.. All Rights Reserved.