MetaDone
|
Public Member Functions | |
MetaDef_impl (DataObject dataObject, Workspace_impl workspace) throws BadPreCondition | |
boolean | canBeShared () throws BadPreCondition |
boolean | isHidden () throws BadPreCondition |
boolean | isDependent () throws BadPreCondition |
MetaModel | getMetaModel () throws BadPreCondition |
MetaObject | getMetaObject () throws BadPreCondition |
MetaDef | setIsDependent (boolean val) |
MetaDef | setCanBeShared (boolean val) |
MetaDef | setIsHidden (boolean val) |
final DataObject | getTarget () |
Private Member Functions | |
boolean | checkWellWP (DataObject data) throws BadFacet |
boolean | getBooleanValue (K_PropertyType property) throws BadPreCondition |
void | setBooleanValue (K_PropertyType property, boolean val) |
Private Attributes | |
final DataObject | target |
final Workspace_impl | workspace |
metadone.metabusiness.impl.MetaDef_impl.MetaDef_impl | ( | DataObject | dataObject, |
Workspace_impl | workspace | ||
) | throws BadPreCondition |
Should be used only by the FactoryOfProxy class !
dataObject |
BadPreCondition |
References metadone.exception.NullArgument.check(), metadone.metabusiness.impl.MetaDef_impl.checkWellWP(), metadone.metabusiness.impl.MetaDef_impl.target, and metadone.metabusiness.impl.MetaDef_impl.workspace.
boolean metadone.metabusiness.impl.MetaDef_impl.canBeShared | ( | ) | throws BadPreCondition |
Indicates whether this definition can be shared.
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.MetaDef_impl.getBooleanValue(), metadone.metabusiness.impl.Workspace_impl.getDefCanBeShared_pt(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
boolean metadone.metabusiness.impl.MetaDef_impl.checkWellWP | ( | DataObject | data | ) | throws BadFacet [private] |
boolean metadone.metabusiness.impl.MetaDef_impl.getBooleanValue | ( | K_PropertyType | property | ) | throws BadPreCondition [private] |
References metadone.repository.kernel.K_Common.getDataObject(), metadone.repository.kernel.K_Object.getDomainOfAsObject(), metadone.util.ListUtil.getOneOf(), metadone.repository.kernel.K_ObjectBoolean.getValueObjectBoolean(), metadone.repository.kernel.DataObject.narrow_K_Object(), metadone.repository.kernel.DataObject.narrow_K_ObjectBoolean(), and metadone.metabusiness.impl.MetaDef_impl.target.
Referenced by metadone.metabusiness.impl.MetaDef_impl.canBeShared(), metadone.metabusiness.impl.MetaDef_impl.isDependent(), and metadone.metabusiness.impl.MetaDef_impl.isHidden().
MetaModel metadone.metabusiness.impl.MetaDef_impl.getMetaModel | ( | ) | throws BadPreCondition |
Gets the metamodel.
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.FactoryOfProxy.buildMetaModel(), metadone.repository.kernel.K_Common.getDataObject(), metadone.repository.kernel.K_Property.getRange(), metadone.repository.kernel.DataObject.narrow_K_ObjectType(), metadone.repository.kernel.DataObject.narrow_K_PropertyType(), and metadone.metabusiness.impl.MetaDef_impl.target.
MetaObject metadone.metabusiness.impl.MetaDef_impl.getMetaObject | ( | ) | throws BadPreCondition |
Gets the metaobject.
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.FactoryOfProxy.buildMetaObject(), metadone.repository.kernel.K_Common.getDataObject(), metadone.repository.kernel.K_Property.getDomain(), metadone.repository.kernel.DataObject.narrow_K_ObjectType(), metadone.repository.kernel.DataObject.narrow_K_PropertyType(), and metadone.metabusiness.impl.MetaDef_impl.target.
final DataObject metadone.metabusiness.impl.MetaDef_impl.getTarget | ( | ) |
References metadone.metabusiness.impl.MetaDef_impl.target.
boolean metadone.metabusiness.impl.MetaDef_impl.isDependent | ( | ) | throws BadPreCondition |
Indicates whether this definition is dependent.
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.MetaDef_impl.getBooleanValue(), metadone.metabusiness.impl.Workspace_impl.getDefIsDependentOf_pt(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
boolean metadone.metabusiness.impl.MetaDef_impl.isHidden | ( | ) | throws BadPreCondition |
Indicates whether this definition is hidden.
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.MetaDef_impl.getBooleanValue(), metadone.metabusiness.impl.Workspace_impl.getDefIsHidden_pt(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
void metadone.metabusiness.impl.MetaDef_impl.setBooleanValue | ( | K_PropertyType | property, |
boolean | val | ||
) | [private] |
References metadone.repository.kernel.K_TypeBoolean.createObjectBoolean(), metadone.repository.kernel.K_Common.getDataObject(), metadone.repository.kernel.K_Object.getDomainOfAsObject(), metadone.util.ListUtil.getOneOf(), metadone.metabusiness.impl.Workspace_impl.getProject(), metadone.repository.kernel.Project.getTypeBoolean(), metadone.repository.kernel.DataObject.narrow_K_Object(), metadone.repository.kernel.DataObject.narrow_K_ObjectBoolean(), metadone.repository.kernel.K_ObjectBoolean.setValueObjectBoolean(), metadone.metabusiness.impl.MetaDef_impl.target, and metadone.metabusiness.impl.MetaDef_impl.workspace.
Referenced by metadone.metabusiness.impl.MetaDef_impl.setCanBeShared(), metadone.metabusiness.impl.MetaDef_impl.setIsDependent(), and metadone.metabusiness.impl.MetaDef_impl.setIsHidden().
MetaDef metadone.metabusiness.impl.MetaDef_impl.setCanBeShared | ( | boolean | value | ) |
Sets whether this definition can be shared.
value | The new value |
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.Workspace_impl.getDefCanBeShared_pt(), metadone.metabusiness.impl.MetaDef_impl.setBooleanValue(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
MetaDef metadone.metabusiness.impl.MetaDef_impl.setIsDependent | ( | boolean | value | ) |
Sets whether this definition is dependent.
value | The new value |
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.Workspace_impl.getDefIsDependentOf_pt(), metadone.metabusiness.impl.MetaDef_impl.setBooleanValue(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
MetaDef metadone.metabusiness.impl.MetaDef_impl.setIsHidden | ( | boolean | value | ) |
Sets whether this definition is hidden.
value | The new value |
BadPreCondition |
Implements metadone.metabusiness.MetaDef.
References metadone.metabusiness.impl.Workspace_impl.getDefIsHidden_pt(), metadone.metabusiness.impl.MetaDef_impl.setBooleanValue(), and metadone.metabusiness.impl.MetaDef_impl.workspace.
final DataObject metadone.metabusiness.impl.MetaDef_impl.target [private] |
Referenced by metadone.metabusiness.impl.MetaDef_impl.getBooleanValue(), metadone.metabusiness.impl.MetaDef_impl.getMetaModel(), metadone.metabusiness.impl.MetaDef_impl.getMetaObject(), metadone.metabusiness.impl.MetaDef_impl.getTarget(), metadone.metabusiness.impl.MetaDef_impl.MetaDef_impl(), and metadone.metabusiness.impl.MetaDef_impl.setBooleanValue().
final Workspace_impl metadone.metabusiness.impl.MetaDef_impl.workspace [private] |
Referenced by metadone.metabusiness.impl.MetaDef_impl.canBeShared(), metadone.metabusiness.impl.MetaDef_impl.isDependent(), metadone.metabusiness.impl.MetaDef_impl.isHidden(), metadone.metabusiness.impl.MetaDef_impl.MetaDef_impl(), metadone.metabusiness.impl.MetaDef_impl.setBooleanValue(), metadone.metabusiness.impl.MetaDef_impl.setCanBeShared(), metadone.metabusiness.impl.MetaDef_impl.setIsDependent(), and metadone.metabusiness.impl.MetaDef_impl.setIsHidden().