org.meta2project.model.debug
Class DebugOProperty
java.lang.Object
org.meta2project.model.debug.DebugAnnotatedEntity
org.meta2project.model.debug.DebugNamedEntity
org.meta2project.model.debug.DebugOProperty
- All Implemented Interfaces:
- AnnotatedEntity, NamedEntity, OProperty, Property
public class DebugOProperty
- extends DebugNamedEntity
- implements OProperty
- Author:
- Anton Malykh
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 |
oprop
protected final OProperty oprop
DebugOProperty
public DebugOProperty(DebugSession session,
OProperty oprop)
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
getDomain
public OntClass getDomain()
- Description copied from interface:
Property
- Get property domain
- Specified by:
getDomain
in interface Property
- Returns:
- null, if domain is any object
getMinCardinality
public java.lang.Integer getMinCardinality()
- Description copied from interface:
Property
- Get min.cardinality
- Specified by:
getMinCardinality
in interface Property
- Returns:
- null is equivalent to 0
getMaxCardinality
public java.lang.Integer getMaxCardinality()
- Description copied from interface:
Property
- Get max.cardinality
- Specified by:
getMaxCardinality
in interface Property
- Returns:
- null is equivalent to infinity
setDomain
public void setDomain(OntClass cl)
- Description copied from interface:
Property
- Set property domain
- Specified by:
setDomain
in interface Property
- Parameters:
cl
- domain class (may be null)
setRange
public void setRange(OntClass r)
- Description copied from interface:
OProperty
- Set range class
- Specified by:
setRange
in interface OProperty
- Parameters:
r
- range class, may be null