MetaDone
metadone.repository.kernel.K_PropertyType Interface Reference
Inheritance diagram for metadone.repository.kernel.K_PropertyType:
Collaboration diagram for metadone.repository.kernel.K_PropertyType:

List of all members.

Public Types

enum  FirstLastMode { FIRST, LAST, AFTER, SKIP }

Public Member Functions

String getNamePropertyType () throws BadFacet
EnumSet< KindgetKinds () throws BadFacet
K_ObjectType getDomainPropertyType () throws BadFacet
K_ObjectType getRangePropertyType () throws BadFacet
boolean hasName (String name) throws BadFacet
K_Property createProperty (DataObject object, K_Object domain, K_Object range) throws BadPreCondition, BadFacet
K_Property createProperty (DataObject object, K_Object domain, K_Object range, FirstLastMode whered, K_Property pd, FirstLastMode wherer, K_Property pr) throws BadPreCondition, BadFacet
K_Property createProperty (K_Object domain, K_Object range) throws BadPreCondition, BadFacet
K_Property createProperty (K_Object domain, K_Object range, FirstLastMode whered, K_Property pd, FirstLastMode wherer, K_Property pr) throws BadPreCondition, BadFacet
K_PropertyType createPropertyType (String name, K_ObjectType domain, K_ObjectType range, EnumSet< Kind > kinds) throws BadPreCondition, BadFacet
K_PropertyType createPropertyType (String name, K_ObjectType domain, K_ObjectType range, EnumSet< Kind > kinds, FirstLastMode whered, K_Property pd, FirstLastMode wherer, K_Property pr) throws BadPreCondition, BadFacet
K_PropertyType createPropertyType (DataObject object, String name, K_ObjectType domain, K_ObjectType range, EnumSet< Kind > kinds) throws BadPreCondition, BadFacet
Set< K_PropertyretrieveProperties () throws BadFacet, BadPreCondition
Set< K_PropertyretrievePropertiesDomain (K_Object domain) throws BadFacet, BadPreCondition
Set< K_PropertyretrievePropertiesRange (K_Object range) throws BadFacet, BadPreCondition
Set< K_PropertyretrievePropertiesDomainRange (K_Object domain, K_Object range) throws BadFacet, BadPreCondition
boolean hasKind (Kind kind) throws BadFacet, BadPreCondition

Detailed Description

Author:
ven

Member Enumeration Documentation

Enumerator:
FIRST 
LAST 
AFTER 
SKIP 

Member Function Documentation

K_Property metadone.repository.kernel.K_PropertyType.createProperty ( DataObject  object,
K_Object  domain,
K_Object  range 
) throws BadPreCondition, BadFacet
K_Property metadone.repository.kernel.K_PropertyType.createProperty ( K_Object  domain,
K_Object  range 
) throws BadPreCondition, BadFacet

Create the property between range and domain as an instance of 'this'. range and domain must be instances of resp. this.domain and this.range

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

K_Property metadone.repository.kernel.K_PropertyType.createProperty ( K_Object  domain,
K_Object  range,
FirstLastMode  whered,
K_Property  pd,
FirstLastMode  wherer,
K_Property  pr 
) throws BadPreCondition, BadFacet

Create the property between range and domain as an instance of this. range and domain must be instances of resp. this.domain and this.range The property is inserted "whered" pd and "wherer" pr.

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

K_Property metadone.repository.kernel.K_PropertyType.createProperty ( DataObject  object,
K_Object  domain,
K_Object  range,
FirstLastMode  whered,
K_Property  pd,
FirstLastMode  wherer,
K_Property  pr 
) throws BadPreCondition, BadFacet

Create the property between range and domain as an instance of 'this'. This operation reuses an existing dataobject and just adds the property facet to its facets.

Parameters:
objectDenotes the dataobject to promote with the new facet.
domainmust be instances of 'this.domain'
rangemust be instances of 'this.range'
Exceptions:
BadFacetif object already has the property facet

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

K_PropertyType metadone.repository.kernel.K_PropertyType.createPropertyType ( String  name,
K_ObjectType  domain,
K_ObjectType  range,
EnumSet< Kind kinds 
) throws BadPreCondition, BadFacet

Create the property type between range and domain as an instance of 'this'. range and domain must be instances of resp. this.domain and this.range Create an instance of 'this'.

Parameters:
nameThe name of the new property type. Can not be null.
domainThe domain of the new property type.
rangeThe range of the new property type.
kindsDenotes the set of kinds. If null, denotes an empty set.
See also:
metadone.repository.kernel.Kind

Referenced by metadone.metabusiness.impl.MetaModel_impl._addInDefinition(), metadone.metabusiness.impl.MetaModel_impl._createMetaModel(), metadone.metabusiness.impl.MetaModel_impl._createMetaObject(), metadone.metabusiness.impl.MetaModel_impl._createMetaRole(), metadone.metabusiness.impl.Workspace_impl.bootstrap_metametamodel(), and metadone.metabusiness.impl.MetaObject_impl.createMetaProperty().

K_PropertyType metadone.repository.kernel.K_PropertyType.createPropertyType ( String  name,
K_ObjectType  domain,
K_ObjectType  range,
EnumSet< Kind kinds,
FirstLastMode  whered,
K_Property  pd,
FirstLastMode  wherer,
K_Property  pr 
) throws BadPreCondition, BadFacet

Create the property type between range and domain as an instance of 'this'. range and domain must be instances of resp. this.domain and this.range Create an instance of 'this'.

Parameters:
nameThe name of the new property type. Can not be null.
domainThe domain of the new property type.
rangeThe range of the new property type.
kindsDenotes the set of kinds. If null, denotes an empty set.
See also:
metadone.repository.kernel.Kind
K_PropertyType metadone.repository.kernel.K_PropertyType.createPropertyType ( DataObject  object,
String  name,
K_ObjectType  domain,
K_ObjectType  range,
EnumSet< Kind kinds 
) throws BadPreCondition, BadFacet

Create the property type between range and domain as an instance of 'this'. range and domain must be instances of resp. this.domain and this.range Create an instance of 'this'. The property type is created as a promotion of an existing dataobject. So, this operation just adds a new facet to 'object'

Parameters:
objectThe dataobject to promote. This object can not already have the property type facet.
nameThe name of the new property type.
domainThe domain of the new property type.
rangeThe range of the new property type.
kindsDenotes the kinds. If null, this denotes the empty set.
See also:
metadone.repository.kernel.Kind
K_ObjectType metadone.repository.kernel.K_PropertyType.getDomainPropertyType ( ) throws BadFacet
EnumSet<Kind> metadone.repository.kernel.K_PropertyType.getKinds ( ) throws BadFacet
K_ObjectType metadone.repository.kernel.K_PropertyType.getRangePropertyType ( ) throws BadFacet
boolean metadone.repository.kernel.K_PropertyType.hasKind ( Kind  kind) throws BadFacet, BadPreCondition
boolean metadone.repository.kernel.K_PropertyType.hasName ( String  name) throws BadFacet
Set<K_Property> metadone.repository.kernel.K_PropertyType.retrieveProperties ( ) throws BadFacet, BadPreCondition

Retrieves the instances of 'this'.

Returns:
The set of K_Property that instantiate this.

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

Set<K_Property> metadone.repository.kernel.K_PropertyType.retrievePropertiesDomain ( K_Object  domain) throws BadFacet, BadPreCondition

Retrieves the instances of 'this', if the domain is 'domain'.

Returns:
The set of K_Property that instantiate this.

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

Set<K_Property> metadone.repository.kernel.K_PropertyType.retrievePropertiesDomainRange ( K_Object  domain,
K_Object  range 
) throws BadFacet, BadPreCondition

Retrieves the instances of 'this', if the range is 'range' and the domain is 'domain'.

Returns:
The set of K_Property that instantiate this.

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.

Set<K_Property> metadone.repository.kernel.K_PropertyType.retrievePropertiesRange ( K_Object  range) throws BadFacet, BadPreCondition

Retrieves the instances of 'this', if the range is 'range'.

Returns:
The set of K_Property that instantiate this.

Implemented in metadone.repository.kernel.jpa2.DataObjectJPA2.


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