public class SubObject extends PropertyBusinessRule<LinkedToParent<? super DataObjectDefinition>>
Constructor and Description |
---|
SubObject(LinkedToParent<?> linkedtoparent,
boolean showastable)
Subobject allows to define a simple subobject to a main object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getImportstatements() |
boolean |
isShowastable() |
void |
writeInitialization(SourceGenerator sg) |
isUserimplemented
changeName, cleanName, equals, getName
public SubObject(LinkedToParent<?> linkedtoparent, boolean showastable)
linkedtoparent
- linked to parent from the subobject to the main objectshowastable
- true to show the children as table, false to show the
children as an object bandpublic void writeInitialization(SourceGenerator sg) throws java.io.IOException
writeInitialization
in class PropertyBusinessRule<LinkedToParent<? super DataObjectDefinition>>
sg
- source generatorjava.io.IOException
- if anything bad happens while writing the filepublic java.lang.String[] getImportstatements()
getImportstatements
in class PropertyBusinessRule<LinkedToParent<? super DataObjectDefinition>>
public boolean isShowastable()