org.ontobox.box.box2model
Class BoxOProperty

java.lang.Object
  extended by org.ontobox.box.box2model.BoxNamedEntity
      extended by org.ontobox.box.box2model.BoxProperty
          extended by org.ontobox.box.box2model.BoxOProperty
All Implemented Interfaces:
AnnotatedEntity, NamedEntity, OProperty, Property

public class BoxOProperty
extends BoxProperty
implements OProperty

Author:
Anton Malykh

Field Summary
 
Fields inherited from class org.ontobox.box.box2model.BoxNamedEntity
con, fn
 
Fields inherited from interface org.meta2project.model.AnnotatedEntity
CASCADE, CASCADE_DELETE_VALUE, COMMENT, MAX_CARD, MIN_CARD, MODEL_URI, TITLE
 
Constructor Summary
BoxOProperty(BoxConnection con, int name)
           
 
Method Summary
 OntClass getRange()
          Get the range class for the oproperty.
 void setRange(OntClass range)
          Set range class
 
Methods inherited from class org.ontobox.box.box2model.BoxProperty
getDomain, getMaxCardinality, getMinCardinality, setDomain
 
Methods inherited from class org.ontobox.box.box2model.BoxNamedEntity
delete, equals, getAnnotation, getAnnotationNames, getFullName, getName, getOntology, hashCode, putAnnotation, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.meta2project.model.Property
delete, getDomain, getMaxCardinality, getMinCardinality, setDomain
 
Methods inherited from interface org.meta2project.model.NamedEntity
getFullName, getName, getOntology, setName
 
Methods inherited from interface org.meta2project.model.AnnotatedEntity
getAnnotation, getAnnotationNames, putAnnotation
 

Constructor Detail

BoxOProperty

public BoxOProperty(BoxConnection con,
                    int name)
Method Detail

getRange

public OntClass getRange()
Description copied from interface: OProperty
Get the range class for the oproperty.

Specified by:
getRange in interface OProperty
Returns:
range class

setRange

public void setRange(OntClass range)
Description copied from interface: OProperty
Set range class

Specified by:
setRange in interface OProperty
Parameters:
range - range class, may be null