public abstract class RoleUnitGenerator
extends com.whitestein.lsps.generation.AbstractGenerator
Modifier and Type | Field and Description |
---|---|
protected RoleUnitGeneration |
generatedProvider
provider of generated models
|
protected OrgStructModule |
oModule
org structure for the generated role
|
Modifier | Constructor and Description |
---|---|
protected |
RoleUnitGenerator(com.whitestein.lsps.modeler.org.RoleUnit element,
com.whitestein.lsps.generation.NamespaceGenerator parent,
RoleUnitGeneration op)
Constructor
|
Modifier and Type | Method and Description |
---|---|
abstract RoleUnit |
generateModel() |
protected String[] |
generateParameters()
Returns parameters of the role
|
abstract RoleUnit |
generateRelations()
Generates relations between role units.
|
com.whitestein.lsps.modeler.org.RoleUnit |
getElement() |
com.whitestein.lsps.generation.NamespaceGenerator |
getParent() |
void |
setOrgStructureModule(OrgStructModule oModule)
Sets org structure module for the generated role or unit
|
protected OrgStructModule oModule
protected final RoleUnitGeneration generatedProvider
protected RoleUnitGenerator(com.whitestein.lsps.modeler.org.RoleUnit element, com.whitestein.lsps.generation.NamespaceGenerator parent, RoleUnitGeneration op)
element
- object from which will be model generatedparent
- Parent generatorop
- public com.whitestein.lsps.generation.NamespaceGenerator getParent()
getParent
in interface com.whitestein.lsps.generation.Generator
getParent
in class com.whitestein.lsps.generation.AbstractGenerator
public com.whitestein.lsps.modeler.org.RoleUnit getElement()
getElement
in interface com.whitestein.lsps.generation.Generator
getElement
in class com.whitestein.lsps.generation.AbstractGenerator
public abstract RoleUnit generateModel() throws com.whitestein.lsps.generation.GenerationException
com.whitestein.lsps.generation.GenerationException
public abstract RoleUnit generateRelations() throws com.whitestein.lsps.generation.GenerationException
com.whitestein.lsps.generation.GenerationException
protected String[] generateParameters()
public void setOrgStructureModule(OrgStructModule oModule)
oModule
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.