issrg.editor2.ontology
Class OntologyInstance

java.lang.Object
  extended by 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


Field Summary
protected  OInstance oInstance
           
 
Constructor Summary
protected OntologyInstance(OInstance instance)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object getDatatypePropertyValue(java.lang.String propteryName)
           
 java.util.List<java.lang.Object> getDatatypePropertyValues(java.lang.String propteryName)
           
 java.lang.String getName()
           
 OntologyInstance getObjectPropertyValue(java.lang.String propteryName)
           
 java.util.List<OntologyInstance> getObjectPropertyValues(java.lang.String propteryName)
           
 OntologyClass getOntologyClass()
           
static OntologyInstance getOntologyInstanceOf(OInstance instance)
           
 java.lang.Object getPropertyValue(java.lang.String propteryName)
           
 java.util.List<java.lang.Object> getPropertyValues(java.lang.String propteryName)
           
 int hashCode()
           
 boolean isGenericInstance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

oInstance

protected OInstance oInstance
Constructor Detail

OntologyInstance

protected OntologyInstance(OInstance instance)
Method Detail

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