MetaDone
|
Public Member Functions | |
AbstractProject () | |
AbstractProject (EventTower<?super Metal1Event > e) | |
EventTower<?super Metal1Event > | getEvents () |
void | setEvents (EventTower<?super Metal1Event > e) |
final void | bootstrap () throws BadFacet, BadPreCondition |
boolean | isPrimitiveType (K_ObjectType type) |
Protected Member Functions | |
void | post_createDataProject (DataObject obj) throws BadPreCondition |
void | post_createSubtype (NN_subtype subtype) throws BadPreCondition |
void | post_createTypeof (NN_typeof typeof) throws BadPreCondition |
void | pre_deleteDataObject (DataObject obj) throws BadPreCondition |
void | post_deleteDataObject (long oid) throws BadPreCondition |
void | pre_deleteSubtype (NN_subtype subtype) throws BadPreCondition |
void | post_deleteSubtype (long suboid, long superoid) throws BadPreCondition |
void | pre_deleteTypeof (NN_typeof typeof) throws BadPreCondition |
void | post_deleteTypeof (long instanceoid, long typeoid) throws BadPreCondition |
abstract void | setTypeInteger (K_TypeInteger x) throws BadPreCondition, BadFacet |
abstract void | setTypeFloat (K_TypeFloat x) throws BadPreCondition, BadFacet |
abstract void | setTypeString (K_TypeString x) throws BadPreCondition, BadFacet |
abstract void | setTypeBoolean (K_TypeBoolean x) throws BadPreCondition, BadFacet |
abstract void | setTypeChar (K_TypeChar x) throws BadPreCondition, BadFacet |
abstract void | setTypeOmega (K_TypeOmega x) throws BadPreCondition, BadFacet |
abstract void | setPropertyTypePi (K_PropertyTypePi x) throws BadPreCondition, BadFacet |
abstract void | setTypeType (K_ObjectType x) throws BadPreCondition, BadFacet |
Private Attributes | |
EventTower<?super Metal1Event > | events |
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
metadone.repository.kernel.AbstractProject.AbstractProject | ( | ) |
metadone.repository.kernel.AbstractProject.AbstractProject | ( | EventTower<?super Metal1Event > | e | ) |
final void metadone.repository.kernel.AbstractProject.bootstrap | ( | ) | throws BadFacet, BadPreCondition |
This method bootstrap the project: it initializes the seminal objects and properties to endows the project with the right semantics.
Implements metadone.repository.kernel.Project.
References metadone.repository.kernel.DataObject.addModelOf(), metadone.repository.kernel.Project.createDataProject(), metadone.repository.kernel.Project.createSubtype(), metadone.repository.kernel.Project.createTypeof(), metadone.repository.kernel.Project.ELEMENTARY_TYPE, metadone.repository.kernel.K_Common.getDataObject(), metadone.repository.kernel.DataObject.narrow_K_ObjectBoolean(), metadone.repository.kernel.DataObject.narrow_K_ObjectChar(), metadone.repository.kernel.DataObject.narrow_K_ObjectFloat(), metadone.repository.kernel.DataObject.narrow_K_ObjectInteger(), metadone.repository.kernel.DataObject.narrow_K_ObjectString(), metadone.repository.kernel.DataObject.promote(), metadone.repository.kernel.Project.PROPERTY_PI, metadone.repository.kernel.DataObject.setName(), metadone.repository.kernel.DataObject.setObject_domainOf(), metadone.repository.kernel.DataObject.setObject_rangeOf(), metadone.repository.kernel.DataObject.setProperty_domain(), metadone.repository.kernel.DataObject.setProperty_model(), metadone.repository.kernel.DataObject.setProperty_range(), metadone.repository.kernel.AbstractProject.setPropertyTypePi(), metadone.repository.kernel.AbstractProject.setTypeBoolean(), metadone.repository.kernel.AbstractProject.setTypeChar(), metadone.repository.kernel.AbstractProject.setTypeFloat(), metadone.repository.kernel.AbstractProject.setTypeInteger(), metadone.repository.kernel.AbstractProject.setTypeOmega(), metadone.repository.kernel.AbstractProject.setTypeString(), metadone.repository.kernel.AbstractProject.setTypeType(), metadone.repository.kernel.K_ObjectBoolean.setValueObjectBoolean(), metadone.repository.kernel.K_ObjectChar.setValueObjectChar(), metadone.repository.kernel.K_ObjectFloat.setValueObjectFloat(), metadone.repository.kernel.K_ObjectInteger.setValueObjectInteger(), metadone.repository.kernel.K_ObjectString.setValueObjectString(), metadone.repository.kernel.Project.TYPE_BOOLEAN, metadone.repository.kernel.Project.TYPE_CHAR, metadone.repository.kernel.Project.TYPE_FLOAT, metadone.repository.kernel.Project.TYPE_INTEGER, metadone.repository.kernel.Project.TYPE_OMEGA, and metadone.repository.kernel.Project.TYPE_STRING.
EventTower<? super Metal1Event> metadone.repository.kernel.AbstractProject.getEvents | ( | ) |
Gets the event tower.
References metadone.repository.kernel.AbstractProject.events.
Referenced by metadone.repository.kernel.jpa2.DataObjectJPA2.createObject(), metadone.repository.kernel.jpa2.DataObjectJPA2.createProperty(), metadone.repository.kernel.jpa2.DataObjectJPA2.createPropertyType(), metadone.repository.kernel.jpa2.DataObjectJPA2.deleteObjectProperty(), metadone.repository.kernel.jpa2.DataObjectJPA2.forceModel(), metadone.repository.kernel.AbstractProject.post_createDataProject(), metadone.repository.kernel.AbstractProject.post_createSubtype(), metadone.repository.kernel.AbstractProject.post_createTypeof(), metadone.repository.kernel.AbstractProject.pre_deleteDataObject(), metadone.repository.kernel.AbstractProject.pre_deleteSubtype(), metadone.repository.kernel.AbstractProject.pre_deleteTypeof(), metadone.repository.kernel.jpa2.DataObjectJPA2.promoteToObjectType(), metadone.repository.kernel.jpa2.DataObjectJPA2.promoteToPropertyType(), metadone.repository.kernel.jpa2.DataObjectJPA2.setDomain(), metadone.repository.kernel.jpa2.DataObjectJPA2.setRange(), metadone.repository.kernel.jpa2.DataObjectJPA2.setValueObjectBoolean(), metadone.repository.kernel.jpa2.DataObjectJPA2.setValueObjectChar(), metadone.repository.kernel.jpa2.DataObjectJPA2.setValueObjectFloat(), metadone.repository.kernel.jpa2.DataObjectJPA2.setValueObjectInteger(), and metadone.repository.kernel.jpa2.DataObjectJPA2.setValueObjectString().
boolean metadone.repository.kernel.AbstractProject.isPrimitiveType | ( | K_ObjectType | type | ) |
type | denotes any object type |
Implements metadone.repository.kernel.Project.
References metadone.repository.kernel.Project.getTypeBoolean(), metadone.repository.kernel.Project.getTypeChar(), metadone.repository.kernel.Project.getTypeFloat(), metadone.repository.kernel.Project.getTypeInteger(), and metadone.repository.kernel.Project.getTypeString().
void metadone.repository.kernel.AbstractProject.post_createDataProject | ( | DataObject | obj | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.post_createSubtype | ( | NN_subtype | subtype | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.post_createTypeof | ( | NN_typeof | typeof | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.post_deleteDataObject | ( | long | oid | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.post_deleteSubtype | ( | long | suboid, |
long | superoid | ||
) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.post_deleteTypeof | ( | long | instanceoid, |
long | typeoid | ||
) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.pre_deleteDataObject | ( | DataObject | obj | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.pre_deleteSubtype | ( | NN_subtype | subtype | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.pre_deleteTypeof | ( | NN_typeof | typeof | ) | throws BadPreCondition [protected] |
void metadone.repository.kernel.AbstractProject.setEvents | ( | EventTower<?super Metal1Event > | e | ) |
Sets the event tower
If null
is given, a default event tower will be set.
e | the new event tower |
References metadone.repository.kernel.AbstractProject.events.
Referenced by metadone.repository.kernel.AbstractProject.AbstractProject(), metadone.repository.kernel.jpa2.FactoryProjectJPA2.createProject(), and metadone.repository.kernel.jpa2.FactoryProjectJPA2.openProject().
abstract void metadone.repository.kernel.AbstractProject.setPropertyTypePi | ( | K_PropertyTypePi | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeBoolean | ( | K_TypeBoolean | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeChar | ( | K_TypeChar | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeFloat | ( | K_TypeFloat | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeInteger | ( | K_TypeInteger | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeOmega | ( | K_TypeOmega | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeString | ( | K_TypeString | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
abstract void metadone.repository.kernel.AbstractProject.setTypeType | ( | K_ObjectType | x | ) | throws BadPreCondition, BadFacet [protected, pure virtual] |
Implemented in metadone.repository.kernel.jpa2.ProjectJPA2.
Referenced by metadone.repository.kernel.AbstractProject.bootstrap().
EventTower<? super Metal1Event> metadone.repository.kernel.AbstractProject.events [private] |