MetaDone
metadone.metabusiness.ConcreteObject Interface Reference
Inheritance diagram for metadone.metabusiness.ConcreteObject:
Collaboration diagram for metadone.metabusiness.ConcreteObject:

List of all members.

Public Member Functions

boolean hasType (MetaObject type) throws BadPreCondition
Set< MetaObjectgetTypes () throws BadPreCondition
MetaObject getType (MetaModel metamodel) throws BadPreCondition
public< A >
ConcretePropertyExt< A > 
shareProperty (MetaPropertyExt< A > mp, ConcreteProperty< A > cp, ConcreteModel model) throws BadPreCondition
boolean detachProperty (MetaPropertyExt<?> metaprop, ConcretePropertyExt<?> cp) throws BadPreCondition
public< T >
ConcretePropertyExt< T > 
createProperty (MetaPropertyExt< T > mp, T value, ConcreteModel cm) throws BadPreCondition
public< T > List<?extends
ConcreteProperty< T > > 
getProperties (MetaPropertyExt< T > prop) throws BadPreCondition
public< T > ConcreteProperty< T > getOneProperty (MetaPropertyExt< T > prop) throws BadPreCondition
public< T > T getOnePropertyValue (MetaPropertyExt< T > prop) throws BadPreCondition
public< T >
ConcretePropertyExt< T > 
setOnePropertyValue (MetaPropertyExt< T > prop, T value, ConcreteModel model) throws BadPreCondition
String getOnePropertyString (MetaPropertyExt<?> prop) throws BadPreCondition
List< ConcreteRolegetAllConcreteRolesDomain (MetaRole metarole) throws BadPreCondition
List< ConcreteRolegetAllConcreteRolesRange (MetaRole metarole) throws BadPreCondition
List< ConcreteObjectgetAllConcreteRolesDomainCO (MetaRole metarole) throws BadPreCondition
List< ConcreteObjectgetAllConcreteRolesRangeCO (MetaRole metarole) throws BadPreCondition
ConcreteObject getOneConcreteRolesDomainCO (MetaRole metarole) throws BadPreCondition
ConcreteObject getOneConcreteRolesRangeCO (MetaRole metarole) throws BadPreCondition
boolean isOnTheOtherSide (MetaRole metarole, ConcreteObject concreteObject) throws BadPreCondition
Set< ConcreteModelgetConcreteModels () throws BadPreCondition
Iterator< ConcreteRolegetAllConcreteRoles (MetaRole mr, RoleSide side) throws BadPreCondition
Iterator< ConcreteObjectgetAllConcreteRolesCO (MetaRole mr, RoleSide side) throws BadPreCondition
ConcreteObject getOneConcreteRolesCO (MetaRole metarole, RoleSide side) throws BadPreCondition
public< T > Iterator
< ConcreteRole
getFilteredConcreteRoles (MetaRole mr, RoleSide side, boolean onRole, MetaPropertyExt< T > mp, T value) throws BadPreCondition
public< T > Iterator
< ConcreteObject
getFilteredConcreteRolesCO (MetaRole mr, RoleSide side, boolean onRole, MetaPropertyExt< T > mp, T value) throws BadPreCondition
Iterator<?extends ConcreteObjectgetLinkedObjects (RefType type, RoleSide side)
public< T > Iterator<?extends
ConcreteObject
getLinkedObjects (RefType type, RoleSide side, MetaPropertyExt< T > mp, T value)
ConcretePropertyExt< String > createPropertyString (MetaPropertyExt< String > mpX, String value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Long > createPropertyInteger (MetaPropertyExt< Long > mpX, long value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Character > createPropertyChar (MetaPropertyExt< Character > mpX, char value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Double > createPropertyFloat (MetaPropertyExt< Double > mpX, double value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Boolean > createPropertyBoolean (MetaPropertyExt< Boolean > mpX, boolean value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< String > createEnumPropertyString (MetaPropertyExt< String > mpX, String value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Long > createEnumPropertyInteger (MetaPropertyExt< Long > mpX, long value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Character > createEnumPropertyChar (MetaPropertyExt< Character > mpX, char value, ConcreteModel cm) throws BadPreCondition
ConcretePropertyExt< Double > createEnumPropertyFloat (MetaPropertyExt< Double > mpX, double value, ConcreteModel cm) throws BadPreCondition

Detailed Description

A concrete object.

Author:
ven
kma
See also:
MetaObject

Member Function Documentation

ConcretePropertyExt<Character> metadone.metabusiness.ConcreteObject.createEnumPropertyChar ( MetaPropertyExt< Character >  mpX,
char  value,
ConcreteModel  cm 
) throws BadPreCondition
ConcretePropertyExt<Double> metadone.metabusiness.ConcreteObject.createEnumPropertyFloat ( MetaPropertyExt< Double >  mpX,
double  value,
ConcreteModel  cm 
) throws BadPreCondition
ConcretePropertyExt<Long> metadone.metabusiness.ConcreteObject.createEnumPropertyInteger ( MetaPropertyExt< Long >  mpX,
long  value,
ConcreteModel  cm 
) throws BadPreCondition
ConcretePropertyExt<String> metadone.metabusiness.ConcreteObject.createEnumPropertyString ( MetaPropertyExt< String >  mpX,
String  value,
ConcreteModel  cm 
) throws BadPreCondition
public<T> ConcretePropertyExt<T> metadone.metabusiness.ConcreteObject.createProperty ( MetaPropertyExt< T >  mp,
value,
ConcreteModel  cm 
) throws BadPreCondition

Creates a new property on this object placed in the given concrete model.

The created property may be enumerated.

Parameters:
mpThe metaproperty
valueThe value
cmThe concrete model
Returns:
The created property
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.impl.MetaProperty_impl< T >.addEnumeratedValue(), metadone.metabusiness.syntax.grasyla.GrasylaPhenomenon.createAttribute(), metadone.metabusiness.impl.MetaObject_impl.createMetaPropertyEnumerated(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.createScript(), metadone.client.parsers.grasyla.AST_variable.generate(), metadone.client.parsers.grasyla.AST_property.generate(), metadone.client.parsers.grasyla.AST_gref.generate(), metadone.client.parsers.grasyla.AST_script.generate_update(), metadone.client.actions.Test3Action.initConcreteModel(), metadone.client.actions.Test6Action.initModels(), metadone.client.functions.importer.owl.OWLImporter.readFunctionalProperty(), metadone.client.functions.importer.owl.OWLImporter.readHasValueProperty(), metadone.client.functions.importer.owl.OWLImporter.readInverseFunctionalProperty(), metadone.client.functions.importer.owl.OWLImporter.readOneOfProperty(), metadone.client.functions.importer.owl.OWLImporter.readRangeProperty(), metadone.client.functions.importer.owl.OWLImporter.readSymmetricProperty(), metadone.client.functions.importer.owl.OWLImporter.readTransitiveProperty(), and metadone.client.functions.importer.owl.OWLImporter.readValueProperty().

ConcretePropertyExt<Character> metadone.metabusiness.ConcreteObject.createPropertyChar ( MetaPropertyExt< Character >  mpX,
char  value,
ConcreteModel  cm 
) throws BadPreCondition
ConcretePropertyExt<Double> metadone.metabusiness.ConcreteObject.createPropertyFloat ( MetaPropertyExt< Double >  mpX,
double  value,
ConcreteModel  cm 
) throws BadPreCondition
ConcretePropertyExt<Long> metadone.metabusiness.ConcreteObject.createPropertyInteger ( MetaPropertyExt< Long >  mpX,
long  value,
ConcreteModel  cm 
) throws BadPreCondition
boolean metadone.metabusiness.ConcreteObject.detachProperty ( MetaPropertyExt<?>  metaprop,
ConcretePropertyExt<?>  cp 
) throws BadPreCondition

Removes the 'cp' concrete property from the 'this' concrete object as a valuation of the 'metaprop' metaproperty.

If 'cp' is no more referenced as a valuation of some metaproperty, then the concreteproperty is deleted (physically removed from the repository), and the proxy is burned.

Parameters:
metapropThe metaproperty that attaches the concrete property to 'this'
cpThe concrete property
Returns:
true iff the concrete property has been physically deleted.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.impl.MetaRole_impl.setRangeDomainName().

Iterator<ConcreteRole> metadone.metabusiness.ConcreteObject.getAllConcreteRoles ( MetaRole  mr,
RoleSide  side 
) throws BadPreCondition

Gets the concrete roles linked by a metarole to this.

Parameters:
mrThe metarole
sideThe side of the other object
Returns:
An iterator over the roles

Referenced by metadone.client.grasyla2.ref.ActionDeleteRoleEngine.delete_roles().

Iterator<ConcreteObject> metadone.metabusiness.ConcreteObject.getAllConcreteRolesCO ( MetaRole  mr,
RoleSide  side 
) throws BadPreCondition

Gets the concrete objects linked by a metarole to this.

Parameters:
mrThe metarole
sideThe side of the other object
Returns:
An iterator over the linked objects

Referenced by metadone.metabusiness.script.groovy.GroovyProxyCO.sideOf().

List<ConcreteObject> metadone.metabusiness.ConcreteObject.getAllConcreteRolesDomainCO ( MetaRole  metarole) throws BadPreCondition
List<ConcreteRole> metadone.metabusiness.ConcreteObject.getAllConcreteRolesRange ( MetaRole  metarole) throws BadPreCondition

Gets all the roles in which this is a range.

Parameters:
metaroleThe metarole
Returns:
The list of concreteRole that are instances of 'metarole' and whose 'this' is the range. If the domain side is sorted, then the list is also sorted.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.impl.ConcreteObject_impl._detach(), metadone.client.parsers.grasyla.AST_expression.generate(), metadone.metabusiness.impl.ConcreteObject_impl.getDependumIfSetIsDeleted(), metadone.client.dialog.swing.genConcreteObject.ModelTableRoles.getRows(), and metadone.client.dialog.swing.genConcreteObject.Panel_one_domain.getTheConcreteRole().

List<ConcreteObject> metadone.metabusiness.ConcreteObject.getAllConcreteRolesRangeCO ( MetaRole  metarole) throws BadPreCondition

Gets all the concrete objects which are on the domain side of the roles for the given metarole.

This is equivalent to:

 List<ConcreteObject> result = new ...;
 for (ConcreteRole cr : getAllConcreteRolesRange(metarole)) {
   result.add(cr.getDomain());
 }
 return result;
 
Parameters:
metaroleThe metarole
Returns:
The list of concreteobjects that are instances of 'metarole.getDomain()' and whose 'this' is the range. If the domain side is sorted, then the list is also sorted.
Exceptions:
BadPreCondition
See also:
getAllConcreteRolesRange(MetaRole)

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.syntax.grasyla.GrasylaScript.notifyScriptChanged(), metadone.metabusiness.syntax.grasyla.BootstrapGrasyla.retrieveGrasylaScripts(), and metadone.client.dialog.swing.visualizeModel.MyVisualizeModel.updateListOfGrasylaScripts().

Set<ConcreteModel> metadone.metabusiness.ConcreteObject.getConcreteModels ( ) throws BadPreCondition
public<T> Iterator<ConcreteRole> metadone.metabusiness.ConcreteObject.getFilteredConcreteRoles ( MetaRole  mr,
RoleSide  side,
boolean  onRole,
MetaPropertyExt< T >  mp,
value 
) throws BadPreCondition

Gets roles filtered by a meta property.

The property is taken from the role if onRole is true, otherwise it is taken from the object on the other side.

Parameters:
mrThe metarole
sideThe side of the other object
onRoleWhether the property is taken from the role or the other object
mpThe metaproperty
valueThe value
Returns:
An iterator over the concrete roles
Exceptions:
BadPreCondition
public<T> Iterator<ConcreteObject> metadone.metabusiness.ConcreteObject.getFilteredConcreteRolesCO ( MetaRole  mr,
RoleSide  side,
boolean  onRole,
MetaPropertyExt< T >  mp,
value 
) throws BadPreCondition
Iterator<? extends ConcreteObject> metadone.metabusiness.ConcreteObject.getLinkedObjects ( RefType  type,
RoleSide  side 
)

Returns linked objects to this concrete object.

This is an utility method which works as getTypes(), etc. However, this method does not throw exceptions.

Parameters:
typeThe type of the link
sideThe side of the retuned objects
Returns:
An iterator over the linked objects
public<T> Iterator<? extends ConcreteObject> metadone.metabusiness.ConcreteObject.getLinkedObjects ( RefType  type,
RoleSide  side,
MetaPropertyExt< T >  mp,
value 
)

Same as getLinkedObjects(RefType, RoleSide) but filters the resulting iterator.

The resulting iterator's kept elements are those that have a concrete property of the type mp that is equal to the given value.

Parameters:
typeThe type of the link
sideThe side of the returned objects
mpThe metaproperty
valueThe value
Returns:
An iterator over the linked objects
ConcreteObject metadone.metabusiness.ConcreteObject.getOneConcreteRolesCO ( MetaRole  metarole,
RoleSide  side 
) throws BadPreCondition

Gets the concrete object linked to this.

Parameters:
metaroleThe metarole
sideThe side of the other object
Returns:
The object or null
Exceptions:
BadPreCondition

Referenced by metadone.metabusiness.script.groovy.GroovyProxyCO.sideOf().

ConcreteObject metadone.metabusiness.ConcreteObject.getOneConcreteRolesRangeCO ( MetaRole  metarole) throws BadPreCondition

Gets one of the objects on the domain side for the given metarole.

Parameters:
metaroleThe metarole
Returns:
One concreteobject of type 'metarole.getDomain()' and whose 'this' is the range. null if there is no such object and a random value if there exists several values.
Exceptions:
BadPreCondition
See also:
getAllConcreteRolesRangeCO(MetaRole)

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.client.functions.importer.km3.KM3Importer.Promoter.createReference(), and metadone.metabusiness.syntax.grasyla.GrasylaView.getScript().

public<T> ConcreteProperty<T> metadone.metabusiness.ConcreteObject.getOneProperty ( MetaPropertyExt< T >  prop) throws BadPreCondition

Gets a single property.

This method is useful specially when the cardinality is 1.

Parameters:
propDenotes a metaproperty attached to this object
Returns:
Either one random value taken from the properties of this concrete object or null is no property does exist.
Exceptions:
BadPreCondition
See also:
#getProperties(MetaPropertyExt)

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.syntax.grasyla.GrasylaView._rename(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_String.DeleteActionListener.actionPerformed(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.metabusiness.syntax.grasyla.GrasylaPhenomenon.getAttributeCOValue(), metadone.client.dialog.swing.genConcreteObject.ListenerFieldString.getProperty(), metadone.client.dialog.swing.genConcreteObject.ListenerFieldChar.getProperty(), metadone.metabusiness.impl.MetaProperty_impl< T >.isEnumerated(), metadone.metabusiness.impl.MetaRole_impl.isOrdered(), metadone.metabusiness.impl.MetaPropertyExt_impl< T >.isOrdered(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_String.refresh(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Integer.refresh(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Float.refresh(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Char.refresh(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Boolean.refresh(), metadone.metabusiness.impl.MetaRole_impl.setOrdered(), and metadone.metabusiness.impl.MetaRole_impl.setRangeDomainName().

String metadone.metabusiness.ConcreteObject.getOnePropertyString ( MetaPropertyExt<?>  prop) throws BadPreCondition

Gets one property value transformed into a string. // TODO could be deprecated as getOnePropertyValue is enough?

This is equivalent to:

 Object result = getOnePropertyValue(prop);
 return result != null ? result.toString() : null;
 
Parameters:
propDenotes a metaproperty attached to this object
Returns:
The property converted to string or null
Exceptions:
BadPreCondition
See also:
#getOnePropertyValue(MetaPropertyExt)
Object.toString()
Deprecated:
use getOnePropertyValue(MetaPropertyExt) instead

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

public<T> T metadone.metabusiness.ConcreteObject.getOnePropertyValue ( MetaPropertyExt< T >  prop) throws BadPreCondition

Gets a single property value.

This method is useful specially when the cardinality is 1.

This method is equivalent to:

 ConcretePropertyExt<T> cp = getOneProperty(prop);
 return cp != null ? cp.getValue() : null;
 
Parameters:
propDenotes a metaproperty attached to this object
Returns:
Either one random value taken from the properties of this concrete object or null is no property does exist.
Exceptions:
BadPreCondition
See also:
#getOneProperty(MetaPropertyExt)
#setOnePropertyValue(MetaPropertyExt, Object, ConcreteModel)

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.client.grasyla2.ref.UpdateOnEngine.activate(), metadone.client.grasyla2.GrasylaContext.activate(), metadone.client.grasyla2.ref.RefEngine.buildChild(), metadone.client.grasyla2.ref.RefRoleEngine.buildNewComponent(), metadone.client.functions.importer.km3.KM3Importer.Promoter.createAttributes(), metadone.client.functions.importer.km3.KM3Importer.Promoter.createReference(), metadone.client.functions.importer.km3.KM3Importer.Promoter.createReferences(), metadone.client.grasyla2.ref.MRRefRoleEngine.evaluateComponent(), metadone.client.grasyla2.GrasylaEngine.getContainedAttributes(), metadone.metabusiness.syntax.grasyla.GrasylaScript.getDefaultFunctor(), metadone.metabusiness.impl.MetaRole_impl.getDomainName(), metadone.metabusiness.syntax.grasyla.AbstractGrasylaView.getExprAndCO(), metadone.metabusiness.syntax.grasyla.GrasylaScript.getName(), metadone.metabusiness.annex.User.getName(), metadone.metabusiness.syntax.grasyla.GrasylaView.getNameView(), metadone.metabusiness.impl.MetaRole_impl.getRangeName(), metadone.metabusiness.annex.User.getShortName(), metadone.client.grasyla2.ref.RefSpecEngine.getTypeAndSide(), metadone.metabusiness.syntax.grasyla.GrasylaEquation.GrasylaEquation(), metadone.metabusiness.impl.MetaProperty_impl< T >.isRestricted(), metadone.metabusiness.script.groovy.GroovyProxyCO.propertyMissing(), and metadone.client.grasyla2.GrasylaEngine.updateContext().

public<T> List<? extends ConcreteProperty<T> > metadone.metabusiness.ConcreteObject.getProperties ( MetaPropertyExt< T >  prop) throws BadPreCondition

Gets the list of defined properties.

Parameters:
propDenotes a metaproperty attached to this metaobject
Returns:
A list of concreteproperties. This list is sorted if the metarole is sorted.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.metabusiness.impl.MetaObject_impl._getName(), metadone.metabusiness.impl.MetaPropertyExt_impl< T >._setOrdered(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Integer.DeleteActionListener.actionPerformed(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Float.DeleteActionListener.actionPerformed(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Char.DeleteActionListener.actionPerformed(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Boolean.DeleteActionListener.actionPerformed(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyChar(), metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyFloat(), metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyInteger(), metadone.metabusiness.impl.ConcreteObject_impl.createEnumPropertyString(), metadone.client.grasyla2.ref.ActionDeleteEngine.delete_property(), metadone.client.parsers.grasyla.AST_variable.generate(), metadone.client.parsers.grasyla.AST_property.generate(), metadone.client.parsers.grasyla.AST_gref.generate(), metadone.client.parsers.grasyla.AST_expression.generate(), metadone.client.parsers.grasyla.AST_equation.generate(), metadone.client.parsers.grasyla.AST_script.generate_update(), metadone.metabusiness.impl.MetaObject_impl.getDisplayNameFormula(), metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeration(), metadone.metabusiness.syntax.grasyla.GrasylaScript.getFeatures(), metadone.client.dialog.swing.genConcreteObject.ModelMultipleProperty.getObjectAt(), metadone.client.dialog.swing.genConcreteObject.ListenerFieldFloat.getProperty(), metadone.client.dialog.swing.genConcreteObject.ListenerFieldBoolean.getProperty(), metadone.client.dialog.swing.genConcreteObject.ModelMultipleProperty.getRowCount(), metadone.client.dialog.swing.genConcreteObject.Panel_Single_Integer.ModelMVC.initProperty(), metadone.metabusiness.script.groovy.GroovyProxyCO.propertyMissing(), metadone.metabusiness.syntax.grasyla.GrasylaPhenomenon.setAttributeObjects(), and metadone.metabusiness.impl.MetaObject_impl.setDisplayNameFormula().

MetaObject metadone.metabusiness.ConcreteObject.getType ( MetaModel  metamodel) throws BadPreCondition

Gets the type of this object in a given metamodel.

Parameters:
metamodelDenotes the metamodel that contains the metaObject
Returns:
The more precise type of 'this' in 'metamodel'.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

Referenced by metadone.client.dialog.swing.genConcreteObject.Builder.buildDialog(), metadone.client.grasyla2.ref.MetaEngine.buildNewComponent(), metadone.client.functions.importer.km3.KM3Importer.Promoter.createAttributes(), metadone.client.grasyla2.ref.ActionDeleteEngine.delete_property(), and metadone.client.grasyla2.SelectorBestEquation.findEquation().

boolean metadone.metabusiness.ConcreteObject.isOnTheOtherSide ( MetaRole  metarole,
ConcreteObject  concreteObject 
) throws BadPreCondition

Checks if an object is on the other side of the role.

This method is equivalent to:

 for (ConcreteObject co : getAllConcreteRolesDomain(this)) {
   if (co.equals(concreteObject))
     return true;
 }
 for (ConcreteObject co : getAllConcreteRolesRange(this)) {
   if (co.equals(concreteObject))
     return true;
 }
 return false;
 
Parameters:
metaroleThe metarole
concreteObjectThe concrete object to check
Returns:
true iff there exists an instance of 'metarole that defines a conreterole between 'this and 'concreteObject.
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.impl.ConcreteObject_impl.

public<T> ConcretePropertyExt<T> metadone.metabusiness.ConcreteObject.setOnePropertyValue ( MetaPropertyExt< T >  prop,
value,
ConcreteModel  model 
) throws BadPreCondition
public<A> ConcretePropertyExt<A> metadone.metabusiness.ConcreteObject.shareProperty ( MetaPropertyExt< A >  mp,
ConcreteProperty< A >  cp,
ConcreteModel  model 
) throws BadPreCondition

Associates an existing concrete property with this concrete object.

This object becomes an owner of cp.

Parameters:
mpDenotes the type of the new concrete property. Even if the metaproperty can be deduced from the concrete property cp, the extended metaproperty must be precised in order to know to which type the concrete property should be associated with.
cpDenotes an existing property that will be shared to this
modelDenotes the concrete model that will hosts the result. Let's remember that every ConcretePropertyExt has an new fresh concrete role that is associated with, even if the concrete property instance is shared.
Returns:
The concrete property that represents the association between cp and this.

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