Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.uka.ipd.consensus.foundation.schema
Interface TypeInstance

All Superinterfaces:
  Comparable, Rateable, Serializable

All Known Implementing Classes:
  TypeInstanceImpl

public interface TypeInstance
extends Rateable, Comparable

This is a wrapper interface for special associations that manage the type-instance-relationship between two topics.

Note that while this interface is of type Rateable, the RatingManager cannot assign ratings to TypeInstance objects directly. Instead, it assigns the rating to the wrapped association. Therefore, an implementation simply delegates all Rateable methods to the wrapped association.

The OntologyManager is responsible for creating and managing objects of this type.

Version:
  2006-06-14
Author:
  Thomas Much
See Also:
  `RatingManager`, `OntologyManager`, `Topic`

Method Summary
`Topic` | `getInstance()` Returns the instance topic of a type-instance-relationship between two topics.
`Topic` | `getType()` Returns the type topic of a type-instance-relationship between two topics.

Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Rateable
`addRating, getAverageRatingValue, getId, getRating, getRatings, getRatingsCount`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### getType

    public Topic getType()

  Returns the type topic of a type-instance-relationship between two topics.

  Returns:
    the type topic, never `null`

### getInstance

    public Topic getInstance()

  Returns the instance topic of a type-instance-relationship between two topics.

  Returns:
    the instance topic, never `null`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD