MetaDone
|
Public Member Functions | |
T | 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< ConcreteObject > | getOwners () 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 |
A typed concrete property
<T> | The type of the property |
MetaProperty<T> metadone.metabusiness.ConcreteProperty< T >.getMetaProperty | ( | ) | throws BadPreCondition |
Retrieves the type of 'this'.
Implemented in metadone.metabusiness.ConcretePropertyExt< T >.
Set<ConcreteObject> metadone.metabusiness.ConcreteProperty< T >.getOwners | ( | ) | throws BadPreCondition |
Retrieves the objects containing 'this' in their definition.
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
properties | The properties specifying the format of the output. If null , then the default representation is used. |
Class<T> metadone.metabusiness.ConcreteProperty< T >.getType | ( | ) | throws BadPreCondition |
Gets the type of this metaproperty.
BadPreCondition |
T metadone.metabusiness.ConcreteProperty< T >.getValue | ( | ) | throws BadPreCondition |
Retrieves the value of 'this'.
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.
owner | The owner |
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.
<A> | The new generic type |
type | The type class |
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 | ( | T | value | ) | throws BadPreCondition |
Updates the value.
value | the value to use to update 'this' |
Referenced by metadone.metabusiness.impl.ConcreteObject_impl.setOnePropertyValue().