MetaDone
|
Public Member Functions | |
MetaProperty_impl (K_ObjectType x, Workspace_impl workspace) throws BadPreCondition | |
Set< MetaObject > | getOwners () throws BadPreCondition |
long | getCardinality () throws BadPreCondition |
Class< T > | getType () throws BadPreCondition |
K_ObjectType | getTypeProject () |
MetaPropertyExt_impl< T > | narrowExt (MetaObject ownerMP) throws BadPreCondition |
MetaPropertyExt_impl< T > | narrowExt (MetaObject mo, MetaObject pref) throws BadPreCondition |
boolean | isEnumerated () throws BadPreCondition |
void | addEnumeratedValue (T value) throws BadPreCondition |
List< T > | getEnumeration () throws BadPreCondition |
char[] | getEnumeratedValuesChar () throws BadPreCondition |
double[] | getEnumeratedValuesFloat () throws BadPreCondition |
long[] | getEnumeratedValuesInteger () throws BadPreCondition |
String[] | getEnumeratedValuesString () throws BadPreCondition |
boolean | isRestricted () |
String | getDisplayName (MetaModel mm) |
Package Functions | |
public< A > MetaProperty_impl< A > | narrowType (Class< A > type) throws BadPreCondition |
Private Member Functions | |
MetaPropertyExt_impl< T > | _narrow2MetaPropertyExt (MetaObject ownerMP, Set< MetaObject > pref) throws BadPreCondition |
void | addEnumeratedValue (T value, MetaModel metamodel) throws BadPreCondition |
Static Private Attributes | |
static final String | THE_METAPROPERTY_S_TYPE_IS_INCOMPATIBLE = "The metaproperty's type is incompatible" |
static final Logger | logger = Logger.getLogger(MetaProperty_impl.class) |
metadone.metabusiness.impl.MetaProperty_impl< T >.MetaProperty_impl | ( | K_ObjectType | x, |
Workspace_impl | workspace | ||
) | throws BadPreCondition |
Should be used only by the FactoryOfProxy class !
x | is the Metarelation that link the metaobject to the metaproperty |
workspace |
BadPreCondition |
MetaPropertyExt_impl<T> metadone.metabusiness.impl.MetaProperty_impl< T >._narrow2MetaPropertyExt | ( | MetaObject | ownerMP, |
Set< MetaObject > | pref | ||
) | throws BadPreCondition [private] |
void metadone.metabusiness.impl.MetaProperty_impl< T >.addEnumeratedValue | ( | T | value | ) | throws BadPreCondition |
Creates a new enumerated value.
value | The new value |
BadPreCondition |
References metadone.metabusiness.ConcreteObject.getConcreteModels(), metadone.util.ListUtil.getOneOf(), and metadone.metabusiness.WorkspaceObject.narrow2MetaModel().
Referenced by metadone.metabusiness.impl.ConcreteProperty_impl< T >.setValue().
void metadone.metabusiness.impl.MetaProperty_impl< T >.addEnumeratedValue | ( | T | value, |
MetaModel | metamodel | ||
) | throws BadPreCondition [private] |
Creates a new enumerated value.
value | The new value |
metamodel | The metamodel |
BadPreCondition |
References metadone.metabusiness.ConcreteObject.createProperty(), and metadone.metabusiness.WorkspaceObject.narrow().
long metadone.metabusiness.impl.MetaProperty_impl< T >.getCardinality | ( | ) | throws BadPreCondition |
String metadone.metabusiness.impl.MetaProperty_impl< T >.getDisplayName | ( | MetaModel | mm | ) |
Gets a nice name of this object in a metamodel.
By default, this method should return the nickname of the object or the simplified full name of the object. However, other implementations are possible.
mm | The metamodel or null |
BadPreCondition | if mm is null. |
Reimplemented from metadone.metabusiness.impl.MetaObject_impl.
char [] metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeratedValuesChar | ( | ) | throws BadPreCondition |
double [] metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeratedValuesFloat | ( | ) | throws BadPreCondition |
long [] metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeratedValuesInteger | ( | ) | throws BadPreCondition |
String [] metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeratedValuesString | ( | ) | throws BadPreCondition |
List<T> metadone.metabusiness.impl.MetaProperty_impl< T >.getEnumeration | ( | ) | throws BadPreCondition |
Set<MetaObject> metadone.metabusiness.impl.MetaProperty_impl< T >.getOwners | ( | ) | throws BadPreCondition |
Class<T> metadone.metabusiness.impl.MetaProperty_impl< T >.getType | ( | ) | throws BadPreCondition |
K_ObjectType metadone.metabusiness.impl.MetaProperty_impl< T >.getTypeProject | ( | ) |
This method may only be used in the implementation package.
References metadone.repository.kernel.K_Object.getDomainOfAsObject().
boolean metadone.metabusiness.impl.MetaProperty_impl< T >.isEnumerated | ( | ) | throws BadPreCondition |
boolean metadone.metabusiness.impl.MetaProperty_impl< T >.isRestricted | ( | ) |
MetaPropertyExt_impl<T> metadone.metabusiness.impl.MetaProperty_impl< T >.narrowExt | ( | MetaObject | mo, |
MetaObject | pref | ||
) | throws BadPreCondition |
References metadone.exception.NullArgument.check().
MetaPropertyExt_impl<T> metadone.metabusiness.impl.MetaProperty_impl< T >.narrowExt | ( | MetaObject | ownerMP | ) | throws BadPreCondition |
public<A> MetaProperty_impl<A> metadone.metabusiness.impl.MetaProperty_impl< T >.narrowType | ( | Class< A > | type | ) | throws BadPreCondition [package] |
Reimplemented in metadone.metabusiness.impl.MetaPropertyExt_impl< T >.
References metadone.exception.NullArgument.check().
final Logger metadone.metabusiness.impl.MetaProperty_impl< T >.logger = Logger.getLogger(MetaProperty_impl.class) [static, private] |
Reimplemented from metadone.metabusiness.impl.MetaObject_impl.
final String metadone.metabusiness.impl.MetaProperty_impl< T >.THE_METAPROPERTY_S_TYPE_IS_INCOMPATIBLE = "The metaproperty's type is incompatible" [static, private] |