|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.grc.acuity.PresentationObject
Class to encapsulate the Properties of a presentation object, e.g., a list box or a graph, etc. In particular, a PresentationObject may contain other PresentationObjects (addContainedPresentationObject, getContents methods), has an instance URI, and has a PresentationParameterMap (getKeys, getParameterMap, getParameterValue, getParameterValueRecursively, hasParameter, hasParameterValue, setParameter methods), and may have additional Properties which are not Parameters (addAdditionalProperty, getAdditionalProperty, getAdditionalPropertyMap).
| Field Summary | |
protected java.util.List |
contents
|
| Constructor Summary | |
PresentationObject(java.lang.String uri)
Constructor for class, no arguments. |
|
| Method Summary | |
void |
addAdditionalProperty(java.lang.String key,
java.lang.Object value)
Call this mathod to add an additional property to this PresentationObject. |
void |
addContainedPresentationObject(PresentationObject containedPO)
Call this method to add a PresentationObject to the contents of this PresentationObject. |
boolean |
canReturnValues()
Call this method to determine if this PO can return values to the controller |
protected void |
clearAdditionalPropertyMap()
|
boolean |
contains(com.hp.hpl.jena.rdf.model.Resource aSeriesElement)
|
java.lang.Object |
getAdditionalProperty(java.lang.String key)
Call this method to get the value of an additional Property. |
java.util.Map |
getAdditionalPropertyMap()
Call this method to get the Map of additional Properties of this PresentationObject |
java.util.List |
getContents()
Call this method to get a list of the PresentationObjects contained in this PresentationObject. |
java.lang.String |
getInstanceURI()
Call this method to get the URI of the represented Individual PO. |
java.lang.String[] |
getKeys()
Call this method to get a String array containing all of the keys which have been defined for this PresentationObject. |
PresentationParameterMap |
getParameterMap()
Call this method to the POs PresentationParameterMap. |
java.lang.Object |
getParameterValue(java.lang.String key)
Call this method to obtain the value of a named parameter. |
java.lang.Object |
getParameterValueRecursively(java.lang.String key)
Call this method to obtain the value of a named parameter, recursing into nested maps as needed. |
boolean |
hasParameter(java.lang.String key)
Call this method to inquire about the existence of a particular parameter. |
boolean |
hasParameterValue(java.lang.Object value)
Call this method to inquire about the existence of a particular value in the set of known parameterMap. |
void |
setCanReturnValues(boolean bCanReturnValues)
Call this method to specify whether or not this PresentationObject can return values. |
protected void |
setInstanceURI(java.lang.String instanceURI)
|
void |
setParameter(java.lang.String key,
java.lang.Object value)
Call this method to set the specified value for the specified key. |
void |
setParameterMap(PresentationParameterMap parameters)
Call this method to set the PresentationParameterMap of the PresentationObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List contents
| Constructor Detail |
public PresentationObject(java.lang.String uri)
| Method Detail |
public void setParameter(java.lang.String key,
java.lang.Object value)
key - - a String identifier of the parameter, e.g., allowsMultipleSelectionvalue - - an Object which is the value to be assigned to the key, e.g., Boolean falsepublic java.lang.Object getParameterValue(java.lang.String key)
key - - the name (localname of predicate) of the parameter whose value is requested
public java.lang.Object getParameterValueRecursively(java.lang.String key)
key - - the name of the parameter whose value is requested
public java.lang.String[] getKeys()
public boolean hasParameter(java.lang.String key)
key - - the String key naming the parameter in question
public boolean hasParameterValue(java.lang.Object value)
value - - the value which is the subject of the inquiry
public void addContainedPresentationObject(PresentationObject containedPO)
containedPO - - the PresentationObject to be addedpublic java.util.List getContents()
protected void setInstanceURI(java.lang.String instanceURI)
instanceURI - The instanceURI to set.public java.lang.String getInstanceURI()
public void setParameterMap(PresentationParameterMap parameters)
parameters - The PresentationParameterMap to be set in this PO.public PresentationParameterMap getParameterMap()
public void addAdditionalProperty(java.lang.String key,
java.lang.Object value)
throws AcuityException
key - - the additional property keyvalue - - the additional property value
AcuityExceptionpublic java.lang.Object getAdditionalProperty(java.lang.String key)
key - - the key (localname of the predicate) identifying the additional Property
protected void clearAdditionalPropertyMap()
public java.util.Map getAdditionalPropertyMap()
public boolean contains(com.hp.hpl.jena.rdf.model.Resource aSeriesElement)
public void setCanReturnValues(boolean bCanReturnValues)
bCanReturnValues - - true if values can be returned else falsepublic boolean canReturnValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||