MetaDone
|
Public Member Functions | |
void | bootstrap () throws BadFacet, BadPreCondition |
String | getName () |
void | setName (String name) throws BadPreCondition |
K_TypeInteger | getTypeInteger () |
K_TypeFloat | getTypeFloat () |
K_TypeString | getTypeString () |
K_TypeBoolean | getTypeBoolean () |
K_TypeChar | getTypeChar () |
K_TypeOmega | getTypeOmega () |
K_PropertyTypePi | getPropertyTypePi () |
long | getHighestOIDConsumedSoFar () |
abstract K_ObjectType | getTypeType () |
boolean | isPrimitiveType (K_ObjectType type) |
void | dispose () |
DataObject | createDataProject () throws BadPreCondition |
NN_subtype | createSubtype (K_ObjectType sub, K_ObjectType sup) throws BadPreCondition |
NN_typeof | createTypeof (K_Object instance, K_ObjectType type) throws BadPreCondition |
void | deleteDataObject (DataObject o) throws BadPreCondition |
void | deleteSubtype (NN_subtype nn) throws BadPreCondition |
void | deleteTypeof (NN_typeof nn) throws BadPreCondition |
void | save () |
DataObject | getDataObject (long id) |
Iterator<?extends DataObject > | getDataObjects () throws UnsupportedOperationException |
void | delete () |
boolean | checkConsistency () |
Static Public Attributes | |
static final String | PROPERTY_PI = "#PropertyPi#" |
static final String | ELEMENTARY_TYPE = "#ElementaryType#" |
static final String | TYPE_OMEGA = "#TypeOmega#" |
static final String | TYPE_FLOAT = "#TypeFloat#" |
static final String | TYPE_STRING = "#TypeString#" |
static final String | TYPE_CHAR = "#TypeChar#" |
static final String | TYPE_BOOLEAN = "#TypeBoolean#" |
static final String | TYPE_INTEGER = "#TypeInteger#" |
The Project denotes a set of related dataobject. Two projects are disjoined. Every project is managed by a factory. The project acts as a proxy.
void metadone.repository.kernel.Project.bootstrap | ( | ) | throws BadFacet, BadPreCondition |
This method bootstrap the project: it initializes the seminal objects and properties to endows the project with the right semantics.
Implemented in metadone.repository.kernel.AbstractProject.
Referenced by metadone_bundle_metabusiness.TheBusinessManager.createWorkspace().
boolean metadone.repository.kernel.Project.checkConsistency | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
DataObject metadone.repository.kernel.Project.createDataProject | ( | ) | throws BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
NN_subtype metadone.repository.kernel.Project.createSubtype | ( | K_ObjectType | sub, |
K_ObjectType | sup | ||
) | throws BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.MetaModel_impl._createMetaRole(), metadone.metabusiness.impl.MetaObject_impl._shareMetaProperty(), metadone.repository.kernel.AbstractProject.bootstrap(), and metadone.metabusiness.impl.MetaObject_impl.createMetaProperty().
NN_typeof metadone.repository.kernel.Project.createTypeof | ( | K_Object | instance, |
K_ObjectType | type | ||
) | throws BadPreCondition |
instance | |
type |
BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap(), and metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel().
void metadone.repository.kernel.Project.delete | ( | ) |
This operaton deletes definitively the project. the project is no more usable afterwards.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
void metadone.repository.kernel.Project.deleteDataObject | ( | DataObject | o | ) | throws BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
void metadone.repository.kernel.Project.deleteSubtype | ( | NN_subtype | nn | ) | throws BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
void metadone.repository.kernel.Project.deleteTypeof | ( | NN_typeof | nn | ) | throws BadPreCondition |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
void metadone.repository.kernel.Project.dispose | ( | ) |
Implements metadone.repository.kernel.FactoryData.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.dispose().
DataObject metadone.repository.kernel.Project.getDataObject | ( | long | id | ) |
Gets a data object by its ID.
id | The ID |
null
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.FactoryOfProxy.buildMetaModel(), metadone.metabusiness.impl.FactoryOfProxy.buildMetaObject(), metadone.metabusiness.impl.FactoryOfProxy.buildMetaProperty(), and metadone.metabusiness.impl.FactoryOfProxy.buildMetaRole().
Iterator<? extends DataObject> metadone.repository.kernel.Project.getDataObjects | ( | ) | throws UnsupportedOperationException |
UnsupportedOperationException |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.client.actions.GenerateDotAction.test_projectiterator2().
long metadone.repository.kernel.Project.getHighestOIDConsumedSoFar | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
String metadone.repository.kernel.Project.getName | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.getName().
K_PropertyTypePi metadone.repository.kernel.Project.getPropertyTypePi | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeRoot.getChildren().
K_TypeBoolean metadone.repository.kernel.Project.getTypeBoolean | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.MetaModel_impl._addInDefinition(), metadone.metabusiness.impl.MetaModel_impl._createMetaModel(), metadone.metabusiness.impl.MetaModel_impl._createMetaObject(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.metabusiness.impl.ConcreteObject_impl.createPropertyBoolean(), metadone.metabusiness.impl.Workspace_impl.getTypeFromJava(), metadone.metabusiness.impl.Workspace_impl.getTypeFromRepository(), metadone.repository.kernel.AbstractProject.isPrimitiveType(), metadone.metabusiness.impl.MetaDef_impl.setBooleanValue(), metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
K_TypeChar metadone.repository.kernel.Project.getTypeChar | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyChar(), metadone.metabusiness.impl.ConcreteObject_impl.createPropertyChar(), metadone.metabusiness.impl.Workspace_impl.getTypeFromJava(), metadone.metabusiness.impl.Workspace_impl.getTypeFromRepository(), metadone.repository.kernel.AbstractProject.isPrimitiveType(), metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
K_TypeFloat metadone.repository.kernel.Project.getTypeFloat | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyFloat(), metadone.metabusiness.impl.ConcreteObject_impl.createPropertyFloat(), metadone.metabusiness.impl.Workspace_impl.getTypeFromJava(), metadone.metabusiness.impl.Workspace_impl.getTypeFromRepository(), metadone.repository.kernel.AbstractProject.isPrimitiveType(), metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
K_TypeInteger metadone.repository.kernel.Project.getTypeInteger | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.MetaModel_impl._createMetaRole(), metadone.metabusiness.impl.MetaObject_impl._shareMetaProperty(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyInteger(), metadone.metabusiness.impl.MetaObject_impl.createMetaProperty(), metadone.metabusiness.impl.ConcreteObject_impl.createPropertyInteger(), metadone.metabusiness.impl.Workspace_impl.getTypeFromJava(), metadone.metabusiness.impl.Workspace_impl.getTypeFromRepository(), metadone.metabusiness.impl.Workspace_impl.init_metametamodel(), metadone.repository.kernel.AbstractProject.isPrimitiveType(), metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
K_TypeOmega metadone.repository.kernel.Project.getTypeOmega | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.bootstrap(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.client.dialog.swing.helperBrowserMetal1.NodeRoot.getChildren(), metadone.metabusiness.impl.Workspace_impl.init_metametamodel(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
K_TypeString metadone.repository.kernel.Project.getTypeString | ( | ) |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyString(), metadone.metabusiness.impl.ConcreteObject_impl.createPropertyString(), metadone.metabusiness.impl.Workspace_impl.getTypeFromJava(), metadone.metabusiness.impl.Workspace_impl.getTypeFromRepository(), metadone.repository.kernel.AbstractProject.isPrimitiveType(), metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeDataObject.toString().
abstract K_ObjectType metadone.repository.kernel.Project.getTypeType | ( | ) | [pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel().
boolean metadone.repository.kernel.Project.isPrimitiveType | ( | K_ObjectType | type | ) |
type | denotes any object type |
Implemented in metadone.repository.kernel.AbstractProject.
Referenced by metadone.metabusiness.impl.MetaObject_impl.createMetaProperty().
void metadone.repository.kernel.Project.save | ( | ) |
This operation is equivalent to some commit-transaction;begin-transaction operations. This can causes a dump for a memory repository, to a commit for a database oriented repository, etc. The Project is still usable afterwards.
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.metabusiness.impl.Workspace_impl.save().
void metadone.repository.kernel.Project.setName | ( | String | name | ) | throws BadPreCondition |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
final String metadone.repository.kernel.Project.ELEMENTARY_TYPE = "#ElementaryType#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.PROPERTY_PI = "#PropertyPi#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_BOOLEAN = "#TypeBoolean#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_CHAR = "#TypeChar#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_FLOAT = "#TypeFloat#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_INTEGER = "#TypeInteger#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_OMEGA = "#TypeOmega#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
final String metadone.repository.kernel.Project.TYPE_STRING = "#TypeString#" [static] |
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().