|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--step.typedef.TypeDef | +--step.typedef.RecordDef | +--step.typedef.DerivedRecordDef
The definition of a derived STEP record type.
StepRecord
,
InheritedFieldDef
Nested Class Summary |
Nested classes inherited from class step.typedef.RecordDef |
RecordDef.Builder |
Constructor Summary | |
DerivedRecordDef(String name,
Package pkg,
Type parent,
boolean cleanInherit)
Create a new derived record type definition. |
Method Summary | |
Object |
clone()
Get a copy (clone) of this definition. |
List |
getAttributes()
Get all the record attributes associated with this type. |
List |
getExtraAttributes()
Get only the record attributes added by this type, not the inherited attributes. |
Type |
getParent()
Get the parent type for this definition. |
boolean |
isCleanInherit()
Does this type discard attributes inherited from the parent? |
boolean |
isTypeResolved()
Is the type information for this definition complete? |
protected void |
resolveType()
Complete the type information for this definition. |
protected void |
setCleanInherit(boolean cleanInherit)
|
protected void |
setParent(Type parent)
|
String |
toStepDL()
Get a compact string version of this definition as STEP-DL. |
Methods inherited from class step.typedef.RecordDef |
builder, getDescription, getFactory, getLabel, load, setAttributes, setDescription, setFactory, setLabel |
Methods inherited from class step.typedef.TypeDef |
applyModifiers, dump, getDefault, getDefault, getDefault, getField, getFields, getFullName, getModifiers, getName, getPackage, getType, isDefined, isDefined, isDefined, isResolved, merge, resolve, setAsDefault, setFields, setModifiers |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DerivedRecordDef(String name, Package pkg, Type parent, boolean cleanInherit)
Method Detail |
public Type getParent()
protected void setParent(Type parent)
public boolean isCleanInherit()
protected void setCleanInherit(boolean cleanInherit)
public List getAttributes()
getAttributes
in class RecordDef
public List getExtraAttributes()
public boolean isTypeResolved()
isTypeResolved
in class TypeDef
TypeDef.isResolved()
protected void resolveType()
resolveType
in class TypeDef
ResolveException
- if
TypeDef.resolve()
public Object clone()
TypeDef
clone
in class RecordDef
public String toStepDL()
toStepDL
in interface StepDef
toStepDL
in class RecordDef
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |