com.clarkparsia.pellet.api.term.entity
Interface NamedEntity

All Superinterfaces:
AnnotationValue, Entity, NamedTerm, Term
All Known Subinterfaces:
AnonIndividual, Individual, NamedAnnotationProperty, NamedClass, NamedDataProperty, NamedDatatype, NamedIndividual, NamedObjectProperty, NamedProperty

public interface NamedEntity
extends Entity, NamedTerm, AnnotationValue

Common interface implemented by all constant entities.

Author:
Evren Sirin

Method Summary
 EntityAnnotation annotation(AnnotationProperty p, AnnotationValue value)
           
 EntityAnnotation annotation(AnnotationProperty p, java.lang.String value)
           
<T extends NamedEntity>
T
as(java.lang.Class<T> entityType)
           
 EntityAnnotation comment(AnnotationValue value)
           
 EntityAnnotation comment(java.lang.String value)
           
 Declaration declaration()
           
 boolean isVariable()
           
 EntityAnnotation label(AnnotationValue value)
           
 EntityAnnotation label(java.lang.String value)
           
 
Methods inherited from interface com.clarkparsia.pellet.api.term.NamedTerm
getName
 
Methods inherited from interface com.clarkparsia.pellet.api.term.Term
accept, accept, isNamed
 

Method Detail

as

<T extends NamedEntity> T as(java.lang.Class<T> entityType)

isVariable

boolean isVariable()
Specified by:
isVariable in interface Entity

annotation

EntityAnnotation annotation(AnnotationProperty p,
                            AnnotationValue value)

annotation

EntityAnnotation annotation(AnnotationProperty p,
                            java.lang.String value)

label

EntityAnnotation label(AnnotationValue value)

label

EntityAnnotation label(java.lang.String value)

comment

EntityAnnotation comment(java.lang.String value)

comment

EntityAnnotation comment(AnnotationValue value)

declaration

Declaration declaration()


Copyright 2010 Clark & Parsia, LLC. All Rights Reserved.