com.morpho.morphosmart.sdk
Class MorphoField

java.lang.Object
  extended by com.morpho.morphosmart.sdk.MorphoField

public class MorphoField
extends java.lang.Object

This class represent a database field that can be public or private.


Field Summary
static int MORPHO_FIELD_NAME_LEN
           
 
Constructor Summary
MorphoField()
           
 
Method Summary
 FieldAttribute getFieldAttribute()
           
 int getFieldAttributeIntValue()
           
 int getMaxSize()
           
 java.lang.String getName()
          returns the name
 void setFieldAttribute(FieldAttribute fieldAttribute)
           
 void setFieldAttributeIntValue(int fieldAttributeInteger)
           
 void setMaxSize(int maxSize)
          set the max size
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MORPHO_FIELD_NAME_LEN

public static final int MORPHO_FIELD_NAME_LEN
See Also:
Constant Field Values
Constructor Detail

MorphoField

public MorphoField()
Method Detail

getFieldAttribute

public FieldAttribute getFieldAttribute()
Returns:
the field Attribute

getFieldAttributeIntValue

public int getFieldAttributeIntValue()
Returns:
integer attribute

setFieldAttribute

public void setFieldAttribute(FieldAttribute fieldAttribute)
Parameters:
fieldAttribute - the field Attribute to set

setFieldAttributeIntValue

public void setFieldAttributeIntValue(int fieldAttributeInteger)
Parameters:
fieldAttribute - the field Attribute to set

getMaxSize

public int getMaxSize()
Returns:
the max size

setMaxSize

public void setMaxSize(int maxSize)
set the max size

Parameters:
maxSize - the max size to set

getName

public java.lang.String getName()
returns the name

Returns:
the name

setName

public void setName(java.lang.String name)
             throws MorphoSmartException
Parameters:
name - the name to set
Throws:
MorphoSmartException