|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ge.research.acuity.utils.ConversionUtils
Takes information about a presentation from the onotology and creates a user interface model of that presentation object, for use in client applications
| Constructor Summary | |
ConversionUtils()
|
|
| Method Summary | |
static void |
constructPO(PresentationObject po,
PresentationParameterMap ppm)
Introspects the presentation object to setup the parameter setter method map and then calls the setParameters(com.ge.research.acuity.ui.PresentationObject, com.ge.grc.acuity.PresentationParameterMap, java.util.Map)
with that map information. |
static PresentationObject |
convertIndividual(com.hp.hpl.jena.ontology.Individual individual,
AcuityController controller)
Converts an ontology individual to a user interface presentation object. |
static PresentationObject |
convertPresentationObject(PresentationObject po,
AcuityController controller)
Converts an ontology presentation object to a user interface presentation object. |
static void |
setIAOValues(InteractionContent mpi,
InteractionObject po,
AcuityController controller)
Uses the interaction content of the interaction object(presentation object) to set up the ui interaction/selection presentation object. |
static void |
setIAOValues(java.util.List choices,
java.util.List answers,
InteractionObject po,
AcuityController controller)
Uses a list of choices and answers to set up the ui interaction/selection presentation object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConversionUtils()
| Method Detail |
public static void constructPO(PresentationObject po,
PresentationParameterMap ppm)
throws AcuityException
setParameters(com.ge.research.acuity.ui.PresentationObject, com.ge.grc.acuity.PresentationParameterMap, java.util.Map)
with that map information.
po - the ui presentation objectppm - the presentation parameter map of attribute values, from the ontology, to be set for the presentation object
AcuityException - If there is a Security Exception thrown while introspecting the presentation object
public static PresentationObject convertIndividual(com.hp.hpl.jena.ontology.Individual individual,
AcuityController controller)
throws AcuityException
individual - the individual from the ontologycontroller - the acuity controller to use
AcuityException - If the controller errsconvertPresentationObject(com.ge.grc.acuity.PresentationObject, com.ge.grc.acuity.AcuityController)
public static PresentationObject convertPresentationObject(PresentationObject po,
AcuityController controller)
throws AcuityException
po - the presentation object from the ontologycontroller - the acuity controller to use
AcuityException - If the controller errs
public static void setIAOValues(InteractionContent mpi,
InteractionObject po,
AcuityController controller)
throws AcuityException
mpi - the interaction content from the controllerpo - the ui presentation object constructed to represent the ontology informationcontroller - the acuity controller to use
AcuityException - If the controller errs
public static void setIAOValues(java.util.List choices,
java.util.List answers,
InteractionObject po,
AcuityController controller)
throws AcuityException
choices - the choice valuesanswers - the current answer valuespo - the ui presentation object constructed to represent the ontology informationcontroller - the acuity controller to use (if any)
AcuityException - If the controller errs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||