ILOG JRules

ilog.rules.ras.core.binding
Interface IlrAbstractField

All Known Implementing Classes:
IlrAbstractFieldImpl

public interface IlrAbstractField

Defines an interface for accessing field information of a given field in an object. Inspiration came from java.lang.reflect.Field. Currently the interface only supports reading values as strings. This may later be extended in the same manner as the java.lang.reflect.Field class.


Method Summary
 String getName()
          Gets the name of the field.
 String getType()
          Gets the type of the field as a string.
 Object getValue()
          Gets the internal value of the field as a string.
 void setName(String name)
          Sets the name of the field.
 void setType(String type)
          Sets the type of the field.
 void setValue(Object value)
          Sets the value of the field.
 

Method Detail

getType

String getType()
Gets the type of the field as a string.

Returns:
The type of the field.

getValue

Object getValue()
Gets the internal value of the field as a string.

Returns:
The internal value of the field.

getName

String getName()
Gets the name of the field.

Returns:
The name of the field.

setType

void setType(String type)
Sets the type of the field.

Parameters:
type - Denotes the type of the field.

setValue

void setValue(Object value)
Sets the value of the field.

Parameters:
value - Denotes the value of the field.

setName

void setName(String name)
Sets the name of the field.

Parameters:
name - Denotes the name of the field.

ILOG JRules