kaos.ontology.repository
Class OntClassPropertyDescription

java.lang.Object
  extended by kaos.ontology.repository.OntClassPropertyDescription
All Implemented Interfaces:
java.io.Serializable

public class OntClassPropertyDescription
extends java.lang.Object
implements java.io.Serializable

Contains information describing a restriction of a subproperty of the ontology class $Revision: 1.1 $

See Also:
Serialized Form

Field Summary
static java.lang.String ADDITIONAL_ACTION_PROPERTY
           
static java.lang.String MAIN_ACTION_PROPERTY
           
static java.lang.String SECONDARY_ACTION_PROPERTY
           
 
Constructor Summary
OntClassPropertyDescription(java.lang.String _targetRoleName, java.lang.String _targetClassName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getRelationToActionProperty()
          Gets Relation to Action property information
 java.lang.String getTargetClassName()
          Get the name of the target class.
 java.lang.String getTargetRoleName()
          Gets the ontology originated name of the role of this target.
 int hashCode()
           
 boolean isAttributeRelatedProperty()
          Check if Attribute related property information
 boolean isDatatypeProperty()
          Check if Datatype property
 boolean isFunctionalProperty()
          Check if functional property information
 void setAttributeRelatedProperty()
          Sets Attribute related property information
 void setDatatypeProperty()
          Sets Datatype property
 void setFunctionalProperty()
          Sets functional property information
 void setRelationToActionProperty(java.lang.String myValue)
          Sets Relation to Action property information
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_ACTION_PROPERTY

public static final java.lang.String MAIN_ACTION_PROPERTY
See Also:
Constant Field Values

SECONDARY_ACTION_PROPERTY

public static final java.lang.String SECONDARY_ACTION_PROPERTY
See Also:
Constant Field Values

ADDITIONAL_ACTION_PROPERTY

public static final java.lang.String ADDITIONAL_ACTION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

OntClassPropertyDescription

public OntClassPropertyDescription(java.lang.String _targetRoleName,
                                   java.lang.String _targetClassName)
Method Detail

getTargetRoleName

public java.lang.String getTargetRoleName()
Gets the ontology originated name of the role of this target. The default is performedOn.


getTargetClassName

public java.lang.String getTargetClassName()
Get the name of the target class.


setDatatypeProperty

public void setDatatypeProperty()
Sets Datatype property


isDatatypeProperty

public boolean isDatatypeProperty()
Check if Datatype property


setAttributeRelatedProperty

public void setAttributeRelatedProperty()
Sets Attribute related property information


isAttributeRelatedProperty

public boolean isAttributeRelatedProperty()
Check if Attribute related property information


setFunctionalProperty

public void setFunctionalProperty()
Sets functional property information


isFunctionalProperty

public boolean isFunctionalProperty()
Check if functional property information


setRelationToActionProperty

public void setRelationToActionProperty(java.lang.String myValue)
Sets Relation to Action property information


getRelationToActionProperty

public java.lang.String getRelationToActionProperty()
Gets Relation to Action property information


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