|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.grc.acuity.MissingProperty
Class to encapsulate the important information associated with a missing Property. This class is used by the AcuityController class to return information to a client.
| Constructor Summary | |
MissingProperty()
|
|
| Method Summary | |
protected boolean |
addRangeClass(com.hp.hpl.jena.rdf.model.Resource r)
|
boolean |
checkForSpecialProperties(AcuityController ac)
Call this method to check for any special properties for this missing property. |
protected java.util.List |
getAssociatedActions()
|
int |
getCardinalityRestriction()
Call this method to get the cardinality restiction on the missing property. |
InteractionObject |
getInterationObject()
|
int |
getMaxCardinalityRestriction()
Call this method to get the maximum cardinality restriction of the missing property. |
int |
getMinCardinalityRestriction()
Call this method to get the minimum cardinality restriction of the missing property. |
com.hp.hpl.jena.ontology.OntProperty |
getPredicate()
|
java.util.List |
getRangeResources()
Call this method to get the range of the MissingProperties as a List of Resources |
com.hp.hpl.jena.rdf.model.Resource[] |
getRangeResourcesAsArray()
Call this method to get an array of the URIs of the Classes which are the range. |
com.hp.hpl.jena.ontology.Individual |
getSubject()
|
boolean |
isAskUser()
|
boolean |
isAutoInstantiate()
|
protected void |
setAskUser(boolean bAskUser)
|
protected void |
setAssociatedActions(java.util.List associatedActions)
|
protected void |
setAutoInstantiate(boolean bAutoInstantiate)
|
void |
setCardinalityRestriction(int cardinalityRestriction)
Method to set the cardinality restriction of a missing property. |
void |
setInterationObject(InteractionObject interationObject)
|
void |
setMaxCardinalityRestriction(int maxCardinalityRestriction)
Method to set the maximum cardinality restriction of a missing property. |
void |
setMinCardinalityRestriction(int minCardinalityRestriction)
Method to set the minimum cardinality restriction of a missing property. |
protected void |
setPredicate(com.hp.hpl.jena.ontology.OntProperty predicate)
|
protected void |
setRangeResources(java.util.List rangeClasses)
|
protected void |
setSubject(com.hp.hpl.jena.ontology.Individual subject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MissingProperty()
| Method Detail |
protected void setSubject(com.hp.hpl.jena.ontology.Individual subject)
subject - The subject to set.public com.hp.hpl.jena.ontology.Individual getSubject()
protected void setPredicate(com.hp.hpl.jena.ontology.OntProperty predicate)
predicate - The predicate to set.public com.hp.hpl.jena.ontology.OntProperty getPredicate()
protected void setAskUser(boolean bAskUser)
bAskUser - The bAskUser to set.public boolean isAskUser()
protected void setAutoInstantiate(boolean bAutoInstantiate)
bAutoInstantiate - The bAutoInstantiate to set.public boolean isAutoInstantiate()
public com.hp.hpl.jena.rdf.model.Resource[] getRangeResourcesAsArray()
throws AcuityException
AcuityExceptionpublic java.util.List getRangeResources()
protected void setRangeResources(java.util.List rangeClasses)
protected boolean addRangeClass(com.hp.hpl.jena.rdf.model.Resource r)
throws AcuityException
AcuityExceptionprotected void setAssociatedActions(java.util.List associatedActions)
associatedActions - The associatedActions to set.protected java.util.List getAssociatedActions()
public boolean checkForSpecialProperties(AcuityController ac)
throws AcuityException
AcuityExceptionpublic void setCardinalityRestriction(int cardinalityRestriction)
cardinalityRestriction - - the cardinality required of the missing propertypublic void setMinCardinalityRestriction(int minCardinalityRestriction)
minCardinalityRestriction - - the minimum cardinality of the missing propertypublic int getCardinalityRestriction()
public int getMinCardinalityRestriction()
public int getMaxCardinalityRestriction()
public void setMaxCardinalityRestriction(int maxCardinalityRestriction)
maxCardinalityRestriction - - the maximum cardinality of the missing propertypublic void setInterationObject(InteractionObject interationObject)
interationObject - The interationObject to set.public InteractionObject getInterationObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||