public abstract class PropertyBusinessRule<E extends Property<E>> extends Named
Constructor and Description |
---|
PropertyBusinessRule(java.lang.String name,
boolean userimplemented)
creates a property business rule
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String[] |
getImportstatements() |
boolean |
isUserimplemented() |
abstract void |
writeInitialization(SourceGenerator sg) |
changeName, cleanName, equals, getName
public PropertyBusinessRule(java.lang.String name, boolean userimplemented)
name
- name of the business rule (should be unique for the
property)userimplemented
- if a helper has to be written by the userpublic boolean isUserimplemented()
public abstract void writeInitialization(SourceGenerator sg) throws java.io.IOException
sg
- source generatorjava.io.IOException
- if anything bad happens while writing the filepublic abstract java.lang.String[] getImportstatements()