com.servingxml.util.record
Class DefaultFieldType

java.lang.Object
  extended by com.servingxml.util.record.DefaultFieldType
All Implemented Interfaces:
FieldType

public class DefaultFieldType
extends java.lang.Object
implements FieldType


Field Summary
 
Fields inherited from interface com.servingxml.util.record.FieldType
EMPTY_ATTRIBUTES
 
Constructor Summary
DefaultFieldType(Name fieldName)
           
DefaultFieldType(Name fieldName, java.lang.String label)
           
 
Method Summary
 java.lang.String getLabel()
           
 Name getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFieldType

public DefaultFieldType(Name fieldName)

DefaultFieldType

public DefaultFieldType(Name fieldName,
                        java.lang.String label)
Method Detail

getName

public Name getName()
Specified by:
getName in interface FieldType

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface FieldType