|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--step.typedef.FieldDef
|
+--step.typedef.InheritedFieldDef
The definition for a field that is inherited from a parent type.
NOTE: Inherited fields are a Decorator over the field definition of the parent type.
LocalFieldDef| Nested Class Summary |
| Nested classes inherited from class step.typedef.FieldDef |
FieldDef.Builder |
| Constructor Summary | |
InheritedFieldDef(FieldDef baseField)
Create the definition for an inherited field. |
|
| Method Summary | |
Object |
clone()
Get a copy (clone) of this definition. |
TypeDef |
getAltTypeDef()
Get an alternate type definition specific to this field. |
protected FieldDef |
getBaseDefinition()
Get the definition that this definition inherits from. |
String |
getDescription()
Get the description of the field. |
String |
getName()
Get the name of the field. |
Type |
getType()
Get the type of the field. |
boolean |
isModified()
Does this definition have modifications over its base definition? |
protected void |
setAltTypeDef(TypeDef altDef)
Set a new, alternate, definition for the type of this field. |
protected void |
setDescription(String description)
Illegal operation. |
protected void |
setModified(boolean modified)
|
protected void |
setName(String name)
Illegal operation. |
protected void |
setType(Type type)
Illegal operation. |
| 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 |
public InheritedFieldDef(FieldDef baseField)
| Method Detail |
public String getName()
FieldDef
getName in class FieldDefprotected void setName(String name)
setName in class FieldDefUnsupportedOperationException - always.public Type getType()
FieldDef
getType in class FieldDefprotected void setType(Type type)
setType in class FieldDefUnsupportedOperationException - always.public String getDescription()
FieldDef
getDescription in class FieldDefprotected void setDescription(String description)
setDescription in class FieldDefUnsupportedOperationException - always.public TypeDef getAltTypeDef()
FieldDef
getAltTypeDef in class FieldDefprotected void setAltTypeDef(TypeDef altDef)
FieldDef
setAltTypeDef in class FieldDefpublic boolean isModified()
protected void setModified(boolean modified)
public Object clone()
FieldDef
clone in class FieldDefprotected FieldDef getBaseDefinition()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||