| java.lang.Object com.metaboss.sdlctools.models.modelassistant.metabossmodel.codeconstraints.ModelAssistantImpl
ModelAssistantImpl | public class ModelAssistantImpl implements ModelAssistant(Code) | | Implementation of the assistant to MetaBoss models.
Looks after some constraints imposed by Java and particular style of code generation imposed by MetaBoss generators
such as:
- Selector name must not match the name of any entity, which is a subtype to the entity, which owns this selector. This is because
MetaBoss generates select<Supertype Entity Plural Name>() method used to narrow collection down to entities of a particular type.
|
Method Summary | |
public void | assignToModel(String pModelName) | public void | dismissFromModel(String pModelName) | public void | onModelElementAttributeBeingUpdated(String pModelName, RefObject pModelElementBeingUpdated, String pAttributeName, Object pOldAttributeValue, Object pNewAttributeValue) | public void | onModelElementBeingDeleted(String pModelName, RefObject pModelElementToBeDeleted) | public void | onModelElementJustCreated(String pModelName, RefObject pModelElementJustCreated) | public void | onModelElementReferenceBeingUpdated(String pModelName, RefObject pModelElementBeingUpdated, String pReferenceName, RefObject pReferencedModelElementToRemove, RefObject pReferencedModelElementToAdd) | public void | rectifyModel(String pModelName) | public void | setActionsLogger(String pModelName, ModelAssistant.ModelActionsLogger pModelActionsLogger) | public Collection | verifyConstraints(String pModelName) |
dismissFromModel | public void dismissFromModel(String pModelName)(Code) | | |
onModelElementReferenceBeingUpdated | public void onModelElementReferenceBeingUpdated(String pModelName, RefObject pModelElementBeingUpdated, String pReferenceName, RefObject pReferencedModelElementToRemove, RefObject pReferencedModelElementToAdd) throws ModelRepositoryException(Code) | | |
rectifyModel | public void rectifyModel(String pModelName)(Code) | | |
|
|