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

List of all members.

Public Member Functions

K_Object createObject () throws BadFacet, BadPreCondition
K_ObjectType createObjectType (String name, K_ObjectType[] supertypes) throws BadFacet, BadPreCondition
K_PropertyType getPropertyType (String name) throws BadFacet
Set< K_ObjectTypegetDirectSupertypes () throws BadFacet
Set< K_ObjectTypegetAllSupertypes () throws BadFacet
Set< K_ObjectTypegetDirectSubtypes () throws BadFacet
Set< K_ObjectTypegetAllSubtypes () throws BadFacet
Set< K_PropertyTypegetPropertyTypes () throws BadFacet
String getNameObjectType () throws BadFacet
Set< K_ObjectgetInstances () throws BadFacet
boolean hasInstances () throws BadFacet
boolean hasName (String name) throws BadFacet
void addSuperType (K_ObjectType target) throws BadFacet, BadPreCondition

Detailed Description

Author:
ven

Member Function Documentation

void metadone.repository.kernel.K_ObjectType.addSuperType ( K_ObjectType  target) throws BadFacet, BadPreCondition

Adds target as a new supertype of this.

Precondition:
target is not null
this has no instances.
target is not a primitive type.
Parameters:
targetnot null

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

Referenced by metadone.metabusiness.impl.MetaObject_impl.addSuperType().

K_ObjectType metadone.repository.kernel.K_ObjectType.createObjectType ( String  name,
K_ObjectType[]  supertypes 
) throws BadFacet, BadPreCondition
Set<K_ObjectType> metadone.repository.kernel.K_ObjectType.getAllSubtypes ( ) throws BadFacet
Set<K_ObjectType> metadone.repository.kernel.K_ObjectType.getAllSupertypes ( ) throws BadFacet
Returns:
The direct and indirect supertypes of this
Postcondition:
this does not belong to the result (a priori).
Exceptions:
BadFacet

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

Referenced by metadone.repository.kernel.jpa2.DataObjectJPA2.createObjectType(), metadone.metabusiness.impl.MetaObject_impl.getAllSupertypes(), and metadone.client.dialog.swing.helperBrowserMetal1.NodeSupertypes.getChildren().

Set<K_ObjectType> metadone.repository.kernel.K_ObjectType.getDirectSubtypes ( ) throws BadFacet
Returns:
The set of direct subtypes of this objecttype
Exceptions:
BadFacet

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

Referenced by metadone.metabusiness.impl.MetaObject_impl.getDirectSubtypes().

Set<K_ObjectType> metadone.repository.kernel.K_ObjectType.getDirectSupertypes ( ) throws BadFacet
Returns:
The set of direct sypertypes of this objecttypes.
Exceptions:
BadFacet

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

Referenced by metadone.metabusiness.impl.MetaObject_impl.getDirectSupertypes(), and metadone.client.actions.GenerateDotAction.processDataObject().

K_PropertyType metadone.repository.kernel.K_ObjectType.getPropertyType ( String  name) throws BadFacet
Parameters:
name
Returns:
The propertytype names name and that is attached to this objecttype or one of its supertypes.
Exceptions:
BadFacet

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

Referenced by metadone.metabusiness.impl.Workspace_impl.init_metametamodel().

Set<K_PropertyType> metadone.repository.kernel.K_ObjectType.getPropertyTypes ( ) throws BadFacet
Returns:
The set of PropertyTypes attached to this type or one of its supertype.
Exceptions:
BadFacet

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

boolean metadone.repository.kernel.K_ObjectType.hasInstances ( ) throws BadFacet
Returns:
true iff this object type owns at least one instance.
Exceptions:
BadFacet

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

Referenced by metadone.metabusiness.impl.MetaObject_impl.hasAtLeastOneInstance(), and metadone.metabusiness.impl.MetaRole_impl.setOrdered().

boolean metadone.repository.kernel.K_ObjectType.hasName ( String  name) throws BadFacet
Parameters:
name
Returns:
true iff this object type is named 'name'
Exceptions:
BadFacet

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