issrg.editor2.ontology
Class OntologyInstance
java.lang.Object
issrg.editor2.ontology.OntologyInstance
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- ActionInstance, AdministratorInstance, ParameterInstance, PermissionInstance, PolicyInstance, ResourceInstance, RoleInstance, ThingInstance, UserInstance
public abstract class OntologyInstance
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
oInstance
protected OInstance oInstance
OntologyInstance
protected OntologyInstance(OInstance instance)
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getOntologyClass
public OntologyClass getOntologyClass()
getOntologyInstanceOf
public static OntologyInstance getOntologyInstanceOf(OInstance instance)
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String propteryName)
getObjectPropertyValue
public OntologyInstance getObjectPropertyValue(java.lang.String propteryName)
getDatatypePropertyValue
public java.lang.Object getDatatypePropertyValue(java.lang.String propteryName)
getPropertyValues
public java.util.List<java.lang.Object> getPropertyValues(java.lang.String propteryName)
getObjectPropertyValues
public java.util.List<OntologyInstance> getObjectPropertyValues(java.lang.String propteryName)
getDatatypePropertyValues
public java.util.List<java.lang.Object> getDatatypePropertyValues(java.lang.String propteryName)
isGenericInstance
public boolean isGenericInstance()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable