|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectse.kmr.scam.editor.util.FormModel
This object is a facde for a RDF-Form model.
| Constructor Summary | |
FormModel(Model formModel)
Constructor for the FormModel object |
|
FormModel(String rdfXmlUri)
Constructor for the formHelper object |
|
| Method Summary | |
Collection |
getAllowedLanguages()
Gets a collection of allowed languages for the multilingual nodes. |
NodeIterator |
getAltNodeIterator(Resource root)
Gets the altNodeIterator attribute of the FormModel object |
Collection |
getDescriptions(Resource root)
Gets a collection of description values for a given node. |
String |
getDisplayType(Resource root)
Gets the identifier for the display type defined for a given root node. |
Collection |
getLabelValues(Resource root)
Gets the labelValues attribute of the FormModel object |
int |
getMaxChars(Resource root)
Gets the maxChars attribute of a root in the FormModel object |
Model |
getModel()
Gets the model attribute of the FormModel object |
List |
getPredefinedValues(Resource root,
boolean literalValue)
Gets a collection of PredefinedObject associated to the root
node. |
Resource |
getRoot()
Gets the root attribute of the FormModel object |
String |
getValidationType(Resource root)
Gets the identifier for a datatype validator defined for a given root node. |
Resource |
getVariable(Resource root)
Gets the variable attribute of the FormModel object |
boolean |
isEditable(Resource root)
Gets the editable attribute of the FormModel object |
boolean |
isMultiLingual(Resource root)
Gets the multiLingual attribute of the FormModel object |
boolean |
isMultipleBindingsAllowed(Resource root)
Gets the allowMultipleBindings attribute of the FormModel object |
boolean |
isOfTypeForm(Resource root)
Gets the ofTypeForm attribute of the FormModel object |
boolean |
isOfTypeLabel(Resource root)
Gets the ofTypeLabel attribute of the FormModel object |
boolean |
isOfTypePredefined(Resource root)
Gets the ofTypePredefined attribute of the FormModel object |
boolean |
isOfTypeText(Resource root)
Gets the ofTypeText attribute of the FormModel object |
boolean |
isRepeted(Resource root)
Gets the repeted attribute of the FormModel object |
boolean |
isVisible(Resource root)
Gets the visible attribute of the FormModel object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FormModel(String rdfXmlUri)
throws RDFException
rdfXmlUri - Description of the Parameter
RDFException - Description of the Exception
public FormModel(Model formModel)
throws RDFException
formModel - Description of the Parameter
RDFException - Description of the Exception| Method Detail |
public Model getModel()
public Resource getRoot()
throws RDFException
RDFException - Description of the Exception
public Resource getVariable(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public int getMaxChars(Resource root)
throws RDFException
root - The root
RDFException - Thrown in case of exception in extracting the
information
public Collection getDescriptions(Resource root)
throws RDFException
Literal or of type
Resource. If the node is of type Literal will
the collection only contain the node. A description node of type Resource
has either a collection of references or represents it self a reference
to description values.
root - Get description values associated to this node.
RDFException - Description of the Exception
public List getPredefinedValues(Resource root,
boolean literalValue)
throws RDFException
PredefinedObject associated to the root
node.
root - Get values for this rootliteralValue - tells wether literals are allowed as predefined
values.
PredefinedObject
RDFException - thrown in case of exception while extracting
data.
public String getValidationType(Resource root)
throws RDFException
root - Get identifier defined for this root node
RDFException - thrown in case of exception while extracting
data.
public String getDisplayType(Resource root)
throws RDFException
root - Get identifier defined for this root node
RDFException - thrown in case of exception while extracting
data.
public Collection getLabelValues(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public NodeIterator getAltNodeIterator(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exceptionpublic Collection getAllowedLanguages()
public boolean isOfTypeForm(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isOfTypeLabel(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isOfTypeText(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isOfTypePredefined(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isVisible(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isEditable(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isMultipleBindingsAllowed(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isRepeted(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
public boolean isMultiLingual(Resource root)
throws RDFException
root - Description of the Parameter
RDFException - Description of the Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||