| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--step.typedef.FieldDef
Abstraction of a STEP field defintion.
Field definitions are a component of type definitions.
TypeDef| Nested Class Summary | |
| static class | FieldDef.BuilderCreate field definitions with the Builder pattern. | 
| Constructor Summary | |
| protected  | FieldDef() | 
| Method Summary | |
| static FieldDef.Builder | builder()Get the builder object for creating field definitions. | 
| abstract  Object | clone()Get a copy (clone) of this definition. | 
| abstract  TypeDef | getAltTypeDef()Get an alternate type definition specific to this field. | 
|  List | getAttributes()Get the field attributes associated with this definition. | 
| abstract  String | getDescription()Get the description of the field. | 
| abstract  String | getName()Get the name of the field. | 
| abstract  Type | getType()Get the type of the field. | 
|  boolean | hasAltTypeDef()Does this field have an alternate type definition? | 
| static FieldDef | merge(FieldDef lowDef,
      FieldDef highDef) | 
| protected abstract  void | setAltTypeDef(TypeDef altDef)Set a new, alternate, definition for the type of this field. | 
| protected  void | setAttributes(List attributes)Set the field attributes for this definition. | 
| protected abstract  void | setDescription(String description)Set the description of the field. | 
| protected abstract  void | setName(String name)Set the name of the field. | 
| protected abstract  void | setType(Type type)Set the type of the field. | 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
protected FieldDef()
| Method Detail | 
public abstract String getName()
protected abstract void setName(String name)
public abstract Type getType()
protected abstract void setType(Type type)
public abstract String getDescription()
protected abstract void setDescription(String description)
public List getAttributes()
protected void setAttributes(List attributes)
 NOTE: The given list is copied and checked to make sure the elements are in
 fact Attributes.
public abstract TypeDef getAltTypeDef()
protected abstract void setAltTypeDef(TypeDef altDef)
public boolean hasAltTypeDef()
public abstract Object clone()
clone in class Object
public static FieldDef merge(FieldDef lowDef,
                             FieldDef highDef)
public static FieldDef.Builder builder()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||