it.eng.qbe.query
Class Field

java.lang.Object
  extended by it.eng.qbe.query.Field
All Implemented Interfaces:
IField, java.io.Serializable
Direct Known Subclasses:
GroupByField, OrderByField, SelectField, WhereField

public class Field
extends java.lang.Object
implements IField

The Class Field.

See Also:
Serialized Form

Constructor Summary
Field(java.lang.String id)
          Instantiates a new field.
 
Method Summary
 java.lang.String getFieldName()
          Gets the field name.
 java.lang.String getId()
          Gets the id.
 java.lang.Integer getPrecision()
          Gets the precision.
 java.lang.Integer getScale()
          Gets the scale.
 java.lang.String getType()
          Gets the type.
 void setFieldName(java.lang.String fieldName)
          Sets the field name.
 void setId(java.lang.String id)
          Sets the id.
 void setPrecision(java.lang.Integer precision)
          Sets the precision.
 void setScale(java.lang.Integer scale)
          Sets the scale.
 void setType(java.lang.String type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field(java.lang.String id)
Instantiates a new field.

Parameters:
id - the id
Method Detail

getId

public java.lang.String getId()
Description copied from interface: IField
Gets the id.

Specified by:
getId in interface IField
Returns:
the id

setId

public void setId(java.lang.String id)
Description copied from interface: IField
Sets the id.

Specified by:
setId in interface IField
Parameters:
id - the new id

getFieldName

public java.lang.String getFieldName()
Description copied from interface: IField
Gets the field name.

Specified by:
getFieldName in interface IField
Returns:
the field name

setFieldName

public void setFieldName(java.lang.String fieldName)
Description copied from interface: IField
Sets the field name.

Specified by:
setFieldName in interface IField
Parameters:
fieldName - the new field name

getType

public java.lang.String getType()
Description copied from interface: IField
Gets the type.

Specified by:
getType in interface IField
Returns:
the type

setType

public void setType(java.lang.String type)
Description copied from interface: IField
Sets the type.

Specified by:
setType in interface IField
Parameters:
type - the new type

getScale

public java.lang.Integer getScale()
Description copied from interface: IField
Gets the scale.

Specified by:
getScale in interface IField
Returns:
the scale

setScale

public void setScale(java.lang.Integer scale)
Description copied from interface: IField
Sets the scale.

Specified by:
setScale in interface IField
Parameters:
scale - the new scale

getPrecision

public java.lang.Integer getPrecision()
Description copied from interface: IField
Gets the precision.

Specified by:
getPrecision in interface IField
Returns:
the precision

setPrecision

public void setPrecision(java.lang.Integer precision)
Description copied from interface: IField
Sets the precision.

Specified by:
setPrecision in interface IField
Parameters:
precision - the new precision