public class DataControlElementFieldFilled extends DataControlElement
Constructor and Description |
---|
DataControlElementFieldFilled(DataObjectDefinition mainobject,
Field field)
creates a data control element on field actually filled
|
Modifier and Type | Method and Description |
---|---|
void |
writeRule(SourceGenerator sg,
Module module,
java.lang.String objectclass)
writes the rule in source code of the object
|
getMainobject
public DataControlElementFieldFilled(DataObjectDefinition mainobject, Field field)
mainobject
- main data objectfield
- field to checkpublic void writeRule(SourceGenerator sg, Module module, java.lang.String objectclass) throws java.io.IOException
DataControlElement
writeRule
in class DataControlElement
sg
- source generationmodule
- parent moduleobjectclass
- the class of the data objectjava.io.IOException
- if anything bad happens during writing the file