Java2OWL
Annotation Type J2OWLProperty


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface J2OWLProperty

This is an annotation for getter-methods which are mapped to OWL-properties.


Optional Element Summary
 String adder
          The name of the adder method.
 boolean addRangeAxiom
          a range axiom is to be added to the generated OWL-property.
 boolean asymmetric
          a relational property is made asymmetric.
 int atleast
          minimum number of role-fillers.
 int atmost
          maximum number of role-fillers.
 String clearer
          The name of the clearer method.
 String getKey
          The name of the getKey method.
 boolean irreflexive
          a relational property is made irreflexive.
 boolean local
          If true then the name of the generated OWL-property is prefixed with the class name.
 String name
          The name of the generated OWL-property.
 boolean reflexive
          a relational property is made reflexive.
 String remover
          The name of the remover method.
 String setter
          The name of the setter method.
 boolean symmetric
          a relational property is made symmetric.
 boolean total
          a functional property is made total.
 boolean transitive
          a relational property is made transitive.
 

name

public abstract String name
The name of the generated OWL-property.

Default:
""

local

public abstract boolean local
If true then the name of the generated OWL-property is prefixed with the class name.

Default:
false

setter

public abstract String setter
The name of the setter method.

Default:
""

adder

public abstract String adder
The name of the adder method.

Default:
""

remover

public abstract String remover
The name of the remover method.

Default:
""

clearer

public abstract String clearer
The name of the clearer method.

Default:
""

getKey

public abstract String getKey
The name of the getKey method.

Default:
""

transitive

public abstract boolean transitive
a relational property is made transitive.

Default:
false

symmetric

public abstract boolean symmetric
a relational property is made symmetric.

Default:
false

asymmetric

public abstract boolean asymmetric
a relational property is made asymmetric.

Default:
false

reflexive

public abstract boolean reflexive
a relational property is made reflexive.

Default:
false

irreflexive

public abstract boolean irreflexive
a relational property is made irreflexive.

Default:
false

total

public abstract boolean total
a functional property is made total.

Default:
false

addRangeAxiom

public abstract boolean addRangeAxiom
a range axiom is to be added to the generated OWL-property.

Default:
true

atleast

public abstract int atleast
minimum number of role-fillers.

Default:
-1

atmost

public abstract int atmost
maximum number of role-fillers.

Default:
-1