|
|||||||||||
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 FieldDef
protected void setName(String name)
setName
in class FieldDef
UnsupportedOperationException
- always.public Type getType()
FieldDef
getType
in class FieldDef
protected void setType(Type type)
setType
in class FieldDef
UnsupportedOperationException
- always.public String getDescription()
FieldDef
getDescription
in class FieldDef
protected void setDescription(String description)
setDescription
in class FieldDef
UnsupportedOperationException
- always.public TypeDef getAltTypeDef()
FieldDef
getAltTypeDef
in class FieldDef
protected void setAltTypeDef(TypeDef altDef)
FieldDef
setAltTypeDef
in class FieldDef
public boolean isModified()
protected void setModified(boolean modified)
public Object clone()
FieldDef
clone
in class FieldDef
protected FieldDef getBaseDefinition()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |