|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface represents an attribute (name/value pair) of a topic.
Topic,
Attributeable,
OntologyManager.createAttribute(User, String, String, String, Topic)| Method Summary | |
Attributeable |
getAttributeable()
Returns the element which this attribute belongs to. |
Topic |
getType()
Returns the type of the attribute. |
String |
getValue()
Returns the attribute's value. |
void |
setType(User setter,
Topic type)
Sets the type of the attribute. |
void |
setValue(User setter,
String value)
Changes the attribute's value. |
| Methods inherited from interface de.uka.ipd.consensus.foundation.schema.Concept |
getId, getName, isOfType, setName |
| 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 getValue()
null)
public void setValue(User setter,
String value)
throws OntologyManagerException,
DynamicRightsManagerException
setter - the user who wants to change the valuevalue - the new value (null is treated as an empty string)
OntologyManagerException - if the value could not be changed
DynamicRightsManagerException - if the user is not allowed to change the valueDynamicRightsManager.mayChangeAttributeValue(User, Attribute)public Topic getType()
null if the attribute does not have a type
public void setType(User setter,
Topic type)
throws OntologyManagerException,
DynamicRightsManagerException
setter - the user who wants to set the typetype - the type topic (or null to remove the type)
OntologyManagerException - if the type could not be set
DynamicRightsManagerException - if the user is not allowed to change the typeTopic.isClassTopic()public Attributeable getAttributeable()
Topic
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||