MetaDone
metadone.metabusiness.impl.FactoryOfProxy Class Reference

List of all members.

Static Public Member Functions

static ConcreteModel_impl buildConcreteModel (K_Object target) throws BadPreCondition
static ConcreteObject_impl buildConcreteObject (K_Object target) throws BadPreCondition
static ConcreteProperty_impl<?> buildConcreteProperty (K_Object obj) throws BadPreCondition
static ConcreteRole_impl buildConcreteRole (K_Object result_o) throws BadPreCondition
static MetaDef buildMetaDef (K_Object object, K_PropertyType property) throws BadPreCondition
static MetaModel_impl buildMetaModel (K_ObjectType target) throws BadPreCondition
static MetaObject_impl buildMetaObject (K_ObjectType target) throws BadPreCondition
static MetaProperty_impl<?> buildMetaProperty (K_ObjectType target) throws BadPreCondition
static MetaPropertyExt_impl<?> buildMetaPropertyExt (MetaRole_impl metarole) throws BadPreCondition
static MetaRole_impl buildMetaRole (K_ObjectType target) throws BadPreCondition
static ConcreteModel_impl narrowCO2CM (ConcreteObject candidate) throws BadPreCondition
static ConcreteProperty_impl<?> narrowCO2CP (ConcreteObject candidate) throws BadPreCondition
static ConcreteRole_impl narrowCO2CR (ConcreteObject candidate) throws BadPreCondition
static MetaModel_impl narrowMO2MM (MetaObject mo) throws BadPreCondition
static MetaProperty_impl<?> narrowMO2MP (MetaObject mo) throws BadPreCondition
static MetaRole_impl narrowMO2MR (MetaObject mo) throws BadPreCondition

Private Member Functions

 FactoryOfProxy ()

Static Private Member Functions

static void checkWellConcreteObject (K_Object target2) throws BadPreCondition
static void checkWellConcreteProperty (K_Object obj) throws BadPreCondition

Detailed Description

Author:
ven

Date=14-sept.-2006 - 10:20:19 Filename = FactoryOfProxy.java


Constructor & Destructor Documentation

metadone.metabusiness.impl.FactoryOfProxy.FactoryOfProxy ( ) [private]

Member Function Documentation

static ConcreteModel_impl metadone.metabusiness.impl.FactoryOfProxy.buildConcreteModel ( K_Object  target) throws BadPreCondition [static]
static ConcreteProperty_impl<?> metadone.metabusiness.impl.FactoryOfProxy.buildConcreteProperty ( K_Object  obj) throws BadPreCondition [static]
static MetaDef metadone.metabusiness.impl.FactoryOfProxy.buildMetaDef ( K_Object  object,
K_PropertyType  property 
) throws BadPreCondition [static]
static MetaProperty_impl<?> metadone.metabusiness.impl.FactoryOfProxy.buildMetaProperty ( K_ObjectType  target) throws BadPreCondition [static]
static MetaPropertyExt_impl<?> metadone.metabusiness.impl.FactoryOfProxy.buildMetaPropertyExt ( MetaRole_impl  metarole) throws BadPreCondition [static]
Parameters:
metarole
target
Precondition:
target is not null
Returns:
A MetaProperty proxy to the target.
Exceptions:
BadPreConditionif target is null. If the target does not denote a meta property.

References metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.MetaProperty_impl< T >._narrow2MetaPropertyExt(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.metabusiness.impl.MetaObject_impl.getDirectMetaProperties(), and metadone.metabusiness.impl.MetaRole_impl.toMetaPropertyExt().

static void metadone.metabusiness.impl.FactoryOfProxy.checkWellConcreteObject ( K_Object  target2) throws BadPreCondition [static, private]
Parameters:
target2
Exceptions:
BadPreConditionif the target2 doesn't denote a concrete object

References metadone.repository.kernel.K_Object.getObjectTypes(), and metadone.metabusiness.impl.Workspace_impl.getWorkspaceFromProject().

Referenced by metadone.metabusiness.impl.FactoryOfProxy.buildConcreteObject().

static void metadone.metabusiness.impl.FactoryOfProxy.checkWellConcreteProperty ( K_Object  obj) throws BadPreCondition [static, private]
static ConcreteModel_impl metadone.metabusiness.impl.FactoryOfProxy.narrowCO2CM ( ConcreteObject  candidate) throws BadPreCondition [static]

Typecast a proxy of type ConcreteObject to a distinct proxy of type ConcreteModel

Parameters:
candidatesome concreteobject that denotes a concretemodel
Returns:
a new proxy towards the concretemodel
Exceptions:
BadPreConditionif candidate is null or is the candidate does not denote a ConcreteModel

References metadone.metabusiness.impl.FactoryOfProxy.buildConcreteModel(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.ConcreteObject_impl.narrow2ConcreteModel().

static ConcreteProperty_impl<?> metadone.metabusiness.impl.FactoryOfProxy.narrowCO2CP ( ConcreteObject  candidate) throws BadPreCondition [static]

Typecast a proxy of type ConcreteObject to a distinct proxy of type ConcreteProperty

Parameters:
candidate
Returns:
Exceptions:
BadPreConditionif candidate is null or is the candidate does not denote a ConcreteProperty

References metadone.metabusiness.impl.FactoryOfProxy.buildConcreteProperty(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.ConcreteObject_impl.narrow2ConcreteProperty().

static ConcreteRole_impl metadone.metabusiness.impl.FactoryOfProxy.narrowCO2CR ( ConcreteObject  candidate) throws BadPreCondition [static]

Typecast a proxy of type ConcreteObject to a distinct proxy of type ConcreteRole

Parameters:
candidate
Returns:
Exceptions:
BadPreConditionif candidate is null or is the candidate does not denote a ConcreteRole

References metadone.metabusiness.impl.FactoryOfProxy.buildConcreteRole(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.ConcreteObject_impl.narrow2ConcreteRole().

static MetaModel_impl metadone.metabusiness.impl.FactoryOfProxy.narrowMO2MM ( MetaObject  mo) throws BadPreCondition [static]
Parameters:
mo
Returns:
The typecasting of mo to a metamodel.
Exceptions:
BadPreConditionif mo is null or if mo does not denite a metamodel

References metadone.metabusiness.impl.FactoryOfProxy.buildMetaModel(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.MetaObject_impl.narrow().

static MetaProperty_impl<?> metadone.metabusiness.impl.FactoryOfProxy.narrowMO2MP ( MetaObject  mo) throws BadPreCondition [static]
Parameters:
mo
Returns:
The typecasting of mo to a metaproperty.
Exceptions:
BadPreConditionif mo is null or if mo does not denite a metaproperty

References metadone.metabusiness.impl.FactoryOfProxy.buildMetaProperty(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.MetaObject_impl.narrow().

static MetaRole_impl metadone.metabusiness.impl.FactoryOfProxy.narrowMO2MR ( MetaObject  mo) throws BadPreCondition [static]
Parameters:
mo
Returns:
The typecasting of mo to a metarole.
Exceptions:
BadPreConditionif mo is null or if mo does not denite a metarole

References metadone.metabusiness.impl.FactoryOfProxy.buildMetaRole(), and metadone.exception.NullArgument.check().

Referenced by metadone.metabusiness.impl.MetaObject_impl.narrow().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations