Java2OWL
Annotation Type J2OWLClass


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface J2OWLClass

This specifies the class-level annotations.


Optional Element Summary
 String EquivalentClass
          This is an OWL class expression in Manchester syntax which causes the generated OWL class to be equivalent to the given class expression.
 String name
          This provides the name of the to be generated OWL-class.
 String naming
          This is the name of a String-valued getter-method.
 String OWLSuperClasses
          This is a comma-separated list of OWL class names (from the background ontology).
 boolean synchronise
          This controls the injection of synchronisation code.
 

name

public abstract String name
This provides the name of the to be generated OWL-class. If it is empty then the OWL-class has the same name as the Java-class.

Default:
""

OWLSuperClasses

public abstract String OWLSuperClasses
This is a comma-separated list of OWL class names (from the background ontology). The generated OWL-class is made a subclass of the given OWL-classes.

Default:
""

EquivalentClass

public abstract String EquivalentClass
This is an OWL class expression in Manchester syntax which causes the generated OWL class to be equivalent to the given class expression.

Default:
""

synchronise

public abstract boolean synchronise
This controls the injection of synchronisation code. If it is set to false then no synchronisation code is inserted.

Default:
true

naming

public abstract String naming
This is the name of a String-valued getter-method. Its result is used as name for the generated OWL-individual. If the attribute is the empty string then _ is used as name.

Default:
"getName"