|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the superinterface of the main elements of the ontology: topics, associations and attributes.
Method Summary | |
String |
getId()
Returns the concept's unique id that was either computed automatically or given explicitely at creation time. |
String |
getName()
Returns the concept's name. |
boolean |
isOfType(Topic type)
Checks if this concept is of the given type. |
void |
setName(User setter,
String name)
Changes the concept's name. |
Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Versionable |
getVersion |
Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Commentatable |
getComment, setComment |
Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Rateable |
addRating, getAverageRatingValue, getRating, getRatings, getRatingsCount |
Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Createable |
getCreator |
Methods inherited from interface java.lang.Comparable |
compareTo |
Method Detail |
public String getId()
getId
in interface Rateable
null
)OntologyManager.createTopic(User, String, String, Topic)
,
OntologyManager.createAssociation(User, String, String, Topic)
,
OntologyManager.createAttribute(User, String, String, String, Topic)
public String getName()
null
)public void setName(User setter, String name) throws OntologyManagerException, DynamicRightsManagerException
setter
- the user who wants to change the namename
- the new name
OntologyManagerException
- if the name could not be changed
DynamicRightsManagerException
- if the user is not allowed to change the namepublic boolean isOfType(Topic type)
type
- the type topic, including null
for typeless concepts
true
if the concept is of the specified type, false
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |