|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
com.ge.grc.acuity.PresentationParameterMap
This class is a simple extension to the java.util.Hashtable to allow the subject of a set of parameters on a PresentationObject to be stored along with the predicate (key) and value (Literal, Literal[], Individual, Individual[], PresentationParameterMap, or PresentationParameterMap[]). The last type is the value when the parameter is a composite parameter.
| Constructor Summary | |
PresentationParameterMap(java.lang.String _subjectUri)
Call this constructor to create a new map. |
|
PresentationParameterMap(java.lang.String _subjectUri,
PresentationParameterMap _parent)
Call this constructor to create a new map. |
|
| Method Summary | |
java.lang.String |
canClone(AcuityController ac,
com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj)
|
boolean |
equals(java.lang.Object o)
Might be able to reduce this to just check subjects and not actual map contents |
protected java.util.List |
findSubMap(java.lang.String subj)
|
java.util.Hashtable |
getMatchingParameters(java.lang.String propLocalName)
Call this method to get the subject (key) and object (value) of all ontology Statements reflected in this map which have the input property local name as predicate. |
protected PresentationParameterMap |
getParent()
|
java.lang.String |
getSubjectUri()
Call this method to get the URI of the subject of the parameter map. |
boolean |
isParameterEditable(java.lang.Object key)
Call this method to determine whether or not a Parameter in this PresentationParameterMap is editable. |
protected com.hp.hpl.jena.ontology.Individual |
replaceWithClone(AcuityController ac,
com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj,
com.hp.hpl.jena.rdf.model.RDFNode newObj)
Call this method to replace the Individual which is the subject of this map with a clone. |
protected void |
setParameterEditability(java.lang.Object key,
boolean bEditable)
|
protected void |
setParent(PresentationParameterMap parent)
|
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PresentationParameterMap(java.lang.String _subjectUri)
_subjectUri - - URI of the subject of the parameter map
public PresentationParameterMap(java.lang.String _subjectUri,
PresentationParameterMap _parent)
_subjectUri - - URI of the subject of the parameter map| Method Detail |
public java.lang.String getSubjectUri()
public java.util.Hashtable getMatchingParameters(java.lang.String propLocalName)
propLocalName - - the local name of the Property to be used as key in search
protected void setParameterEditability(java.lang.Object key,
boolean bEditable)
public boolean isParameterEditable(java.lang.Object key)
key - - the Parameter key
protected java.util.List findSubMap(java.lang.String subj)
protected com.hp.hpl.jena.ontology.Individual replaceWithClone(AcuityController ac,
com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj,
com.hp.hpl.jena.rdf.model.RDFNode newObj)
throws AcuityException
subject - - the Individual that is the subject of the old statement and that is being replaced with the new clonenewObj - - the new value which is to be assigned in the clone
AcuityException
public java.lang.String canClone(AcuityController ac,
com.hp.hpl.jena.ontology.Individual subject,
com.hp.hpl.jena.ontology.OntProperty p,
com.hp.hpl.jena.rdf.model.RDFNode oldObj)
throws AcuityException
p -
AcuityExceptionprotected void setParent(PresentationParameterMap parent)
parent - The parent to set.protected PresentationParameterMap getParent()
public boolean equals(java.lang.Object o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||