MetaDone
metadone.metabusiness.ConcreteProperty< T > Interface Reference
Inheritance diagram for metadone.metabusiness.ConcreteProperty< T >:
Collaboration diagram for metadone.metabusiness.ConcreteProperty< T >:

List of all members.

Public Member Functions

getValue () throws BadPreCondition
void setValue (T value) throws BadPreCondition
Class< T > getType () throws BadPreCondition
public< A > ConcreteProperty< A > narrowType (Class< A > type) throws BadPreCondition
String getStringRepresentation (Properties properties) throws BadPreCondition
MetaProperty< T > getMetaProperty () throws BadPreCondition
Set< ConcreteObjectgetOwners () throws BadPreCondition
ConcretePropertyExt< T > narrowExt (ConcreteObject owner) throws BadPreCondition
void setInteger (long value) throws BadPreCondition
void setFloat (double value) throws BadPreCondition
void setString (String value) throws BadPreCondition
void setChar (char value) throws BadPreCondition
void setBoolean (boolean value) throws BadPreCondition
long getValueInteger () throws BadPreCondition
double getValueFloat () throws BadPreCondition
String getValueString () throws BadPreCondition
char getValueChar () throws BadPreCondition
boolean getValueBoolean () throws BadPreCondition

Detailed Description

A typed concrete property

Author:
ven
kma
Parameters:
<T>The type of the property
See also:
MetaProperty

Member Function Documentation

MetaProperty<T> metadone.metabusiness.ConcreteProperty< T >.getMetaProperty ( ) throws BadPreCondition

Retrieves the type of 'this'.

Returns:
the MetaProperty typing 'this'

Implemented in metadone.metabusiness.ConcretePropertyExt< T >.

Set<ConcreteObject> metadone.metabusiness.ConcreteProperty< T >.getOwners ( ) throws BadPreCondition

Retrieves the objects containing 'this' in their definition.

Returns:
The set of all the ConcreteObjects that own 'this' ConcreteProperty.
String metadone.metabusiness.ConcreteProperty< T >.getStringRepresentation ( Properties  properties) throws BadPreCondition

Retrieves a string representation of the value of 'this'. // TODO properties are not yet specified

Parameters:
propertiesThe properties specifying the format of the output. If null, then the default representation is used.
Returns:
The string representation of the property value
See also:
getDisplayName(MetaModel)
Class<T> metadone.metabusiness.ConcreteProperty< T >.getType ( ) throws BadPreCondition

Gets the type of this metaproperty.

Returns:
The type of 'this' MetaProperty.
Exceptions:
BadPreCondition
T metadone.metabusiness.ConcreteProperty< T >.getValue ( ) throws BadPreCondition

Retrieves the value of 'this'.

Returns:
The value
boolean metadone.metabusiness.ConcreteProperty< T >.getValueBoolean ( ) throws BadPreCondition
char metadone.metabusiness.ConcreteProperty< T >.getValueChar ( ) throws BadPreCondition
double metadone.metabusiness.ConcreteProperty< T >.getValueFloat ( ) throws BadPreCondition
long metadone.metabusiness.ConcreteProperty< T >.getValueInteger ( ) throws BadPreCondition
String metadone.metabusiness.ConcreteProperty< T >.getValueString ( ) throws BadPreCondition
ConcretePropertyExt<T> metadone.metabusiness.ConcreteProperty< T >.narrowExt ( ConcreteObject  owner) throws BadPreCondition

Converts this into a ConcretePropertyExt dedicated to some owner.

Parameters:
ownerThe owner
Returns:
The owned property
Exceptions:
BadPreCondition

Referenced by metadone.metabusiness.syntax.grasyla.GrasylaPhenomenon.getAttributeCOValue().

public<A> ConcreteProperty<A> metadone.metabusiness.ConcreteProperty< T >.narrowType ( Class< A >  type) throws BadPreCondition

Changes the generic type.

Parameters:
<A>The new generic type
typeThe type class
Returns:
This with a valid type
Exceptions:
BadPreCondition

Implemented in metadone.metabusiness.ConcretePropertyExt< T >.

void metadone.metabusiness.ConcreteProperty< T >.setBoolean ( boolean  value) throws BadPreCondition
void metadone.metabusiness.ConcreteProperty< T >.setChar ( char  value) throws BadPreCondition
void metadone.metabusiness.ConcreteProperty< T >.setFloat ( double  value) throws BadPreCondition
void metadone.metabusiness.ConcreteProperty< T >.setInteger ( long  value) throws BadPreCondition
void metadone.metabusiness.ConcreteProperty< T >.setString ( String  value) throws BadPreCondition
void metadone.metabusiness.ConcreteProperty< T >.setValue ( value) throws BadPreCondition

Updates the value.

Parameters:
valuethe value to use to update 'this'

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


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