|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.annotation.rework.ontology.classes.ServiceObjects.AnnotableObject
AnnotableObject.java
Represents an annotable object.
See class AnnotableObject of the ontology
| Field Summary | |
boolean |
hasAnnotations
The object has got annotations? |
java.lang.String |
id
Id (URL) of the object |
| Constructor Summary | |
AnnotableObject()
Creates a new object |
|
AnnotableObject(java.lang.String id)
Creates a new object with the specified id |
|
| Method Summary | |
java.lang.String |
getId()
Returns the ID (URL) of the object |
java.lang.String |
getLocalName()
Returns the local name of the URI |
boolean |
hasAnnotations()
Returns true, if the object has annotations |
void |
setHasAnnotation(boolean hasAnnotations)
Sets the variable hasAnnotations |
void |
setId(java.lang.String id)
Sets the ID of the object. |
java.lang.String |
toString()
Returns the label of the object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String id
public boolean hasAnnotations
| Constructor Detail |
public AnnotableObject()
public AnnotableObject(java.lang.String id)
id - Id of the object (without namespace)| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
id - ID of the objectpublic java.lang.String getLocalName()
public java.lang.String toString()
getLabel()public void setHasAnnotation(boolean hasAnnotations)
hasAnnotations
hasAnnotations - Object has annotations?public boolean hasAnnotations()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||