step.typedef
Class LocalFieldDef

java.lang.Object
  |
  +--step.typedef.FieldDef
        |
        +--step.typedef.LocalFieldDef
All Implemented Interfaces:
Cloneable, StepDef

public class LocalFieldDef
extends FieldDef
implements StepDef

The definition of a local (as opposed to inherited) field.

See Also:
InheritedFieldDef

Nested Class Summary
 
Nested classes inherited from class step.typedef.FieldDef
FieldDef.Builder
 
Constructor Summary
LocalFieldDef(String name, Type type)
          Create a new field definition.
 
Method Summary
 Object clone()
          Get a copy (clone) of this definition.
 TypeDef getAltTypeDef()
          Get an alternate type definition specific to this field.
 String getDescription()
          Get the description of the field.
 String getName()
          Get the name of the field.
 Type getType()
          Get the type of the field.
protected  void setAltTypeDef(TypeDef altDef)
          Set a new, alternate, definition for the type of this field.
protected  void setDescription(String description)
          Set the description of the field.
protected  void setName(String name)
          Set the name of the field.
protected  void setType(Type type)
          Set the type of the field.
 String toStepDL()
          Get this definition as STEP-DL text.
 
Methods inherited from class step.typedef.FieldDef
builder, getAttributes, hasAltTypeDef, merge, setAttributes
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFieldDef

public LocalFieldDef(String name,
                     Type type)
Create a new field definition.

Method Detail

getName

public String getName()
Description copied from class: FieldDef
Get the name of the field.

Specified by:
getName in class FieldDef

setName

protected void setName(String name)
Description copied from class: FieldDef
Set the name of the field.

Specified by:
setName in class FieldDef

getType

public Type getType()
Description copied from class: FieldDef
Get the type of the field.

Specified by:
getType in class FieldDef

setType

protected void setType(Type type)
Description copied from class: FieldDef
Set the type of the field.

Specified by:
setType in class FieldDef

getDescription

public String getDescription()
Description copied from class: FieldDef
Get the description of the field.

Specified by:
getDescription in class FieldDef

setDescription

protected void setDescription(String description)
Description copied from class: FieldDef
Set the description of the field.

Specified by:
setDescription in class FieldDef

getAltTypeDef

public TypeDef getAltTypeDef()
Description copied from class: FieldDef
Get an alternate type definition specific to this field. The alternate definition is normally used to indicate that subfields of this field have extended/overridden attributes.

Specified by:
getAltTypeDef in class FieldDef

setAltTypeDef

protected void setAltTypeDef(TypeDef altDef)
Description copied from class: FieldDef
Set a new, alternate, definition for the type of this field.

Specified by:
setAltTypeDef in class FieldDef

clone

public Object clone()
Description copied from class: FieldDef
Get a copy (clone) of this definition.

Specified by:
clone in class FieldDef

toStepDL

public String toStepDL()
Get this definition as STEP-DL text.

Specified by:
toStepDL in interface StepDef