|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.kmr.scam.editor.vocabulary.Editor
Defines the vocabulary used in the RDF Editor. The RDFQuery-model defines a
relation between parameter variables and values in the RDFValue-model. The
RDFQuery defines a projection
variable that will be projected
over the RDFValue-model, fixating the models to each other. The RDFForm-model
defines a relation between parameter variables (references to values in the
RDFValue-model) and attributes in an abstract view. Note:
In the documentation for RDFForm properties the word paramater refers
to the parameter, or property, in the RDFValue model, identified by the
parameter variable that also is associated to the RDFForm-node.
Field Summary | |
static Property |
ACL
Description of the Field |
static Property |
ALLOWEDLANGUAGES
Defines a RDFForm property that determines if the parameter supports multi-lingual values. |
static Property |
ALLOWMULTIPLEBINDINGS
Defines a RDFForm property that determines wether the parameter should be made available for multiple bindings |
static Property |
DISPLAYTYPE
Defines a RDFForm property that identifies the field type. |
static String |
DUMMY_BASE_URI
|
static Property |
EDITABLE
Defines a RDFForm property that determines wether the parameter should be made available for editing. |
static Resource |
FALSE
Defines the boolean value false |
static Resource |
FORM
Defines the form type for resources in a RDFForm. |
static Property |
IMPORTMODEL
|
static Resource |
LABEL
Defines the label type for resources in a RDFForm. |
static Property |
LANGUAGE
Defines a RDFForm property that determines if the parameter supports multi-lingual values. |
static Property |
MAXCHARS
Defines a RDFForm property that describes a upper limit of expected characters in the parameter value. |
static Resource |
PARAMETER
Defines a resource type for parameter variables |
static Resource |
PREDEFINED
Defines the predefined type for resources in a RDFForm.
|
static Resource |
PRIVATE
Description of the Field |
static Resource |
PROJECTION
Defines a resource type for projection variables |
static Resource |
PROTECTED
Description of the Field |
static Resource |
PUBLIC
Description of the Field |
static Property |
REPETED
Defines a RDFForm property, used for labels, that determines wether the label is repeted for each property. |
static Resource |
TEXT
Defines the text type for resources in a RDFForm. |
static Property |
title
|
static Resource |
TRUE
Defines the boolean value true |
static Property |
VALIDATIONTYPE
Defines a RDFForm property that identifies a validator for the field value. |
static Property |
VALUE
Defines a RDFForm property that represents the value of the parameter. |
static Property |
VARIABLE
Defines the property that identifies the associated variable |
static Property |
VISIBLE
Defines a RDFForm property that determines wether the parameter should be visible or not. |
Constructor Summary | |
Editor()
|
Method Summary | |
static String |
getDummyResource(String resource)
|
static String |
getFirstMemberInAltViaProperty(Model mo,
String nuri,
Property prop)
|
static String |
getNameFrom(Model mo,
String nuri)
|
static String |
getResourceFromDummy(String dummy)
|
static String |
getVariableNamespace()
|
static Resource |
getVariableResource(String name)
Gets the variableResource attribute of the Editor class |
static boolean |
isDummyResource(String dummy)
|
static boolean |
isParameterVariable(Resource res)
Test if a resource is defined as a parameter variable. |
static boolean |
isProjectionVariable(Resource res)
Test if a resource is defined as a projection variable. |
static boolean |
isVariable(Resource res)
Gets the variable attribute of the Editor class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DUMMY_BASE_URI
public static Resource PROJECTION
public static Resource PARAMETER
public static Property VARIABLE
public static Resource TRUE
true
public static Resource FALSE
false
public static Resource FORM
form
type for resources in a RDFForm. form
represents the top node in a RDFForm.
public static Resource LABEL
label
type for resources in a RDFForm. label
represents a node containing a label.
public static Resource TEXT
text
type for resources in a RDFForm. text
represents a node containing the value of a parameter.
public static Resource PREDEFINED
predefined
type for resources in a RDFForm.
predefined
represents a node containing the value of a
parameter, the value belongs to a pre-defined set of values.
public static Property VISIBLE
public static Property EDITABLE
public static Property ALLOWMULTIPLEBINDINGS
public static Property REPETED
public static Property MAXCHARS
public static Property LANGUAGE
public static Property ALLOWEDLANGUAGES
public static Property VALUE
public static Property VALIDATIONTYPE
public static Property DISPLAYTYPE
public static Property IMPORTMODEL
public static Resource PUBLIC
public static Resource PROTECTED
public static Resource PRIVATE
public static Property ACL
public static Property title
Constructor Detail |
public Editor()
Method Detail |
public static Resource getVariableResource(String name) throws RDFException
name
- Description of the Parameter
RDFException
- Description of the Exceptionpublic static String getVariableNamespace()
public static boolean isProjectionVariable(Resource res)
res
- Test this resource
public static boolean isParameterVariable(Resource res)
res
- Test this resource
public static boolean isVariable(Resource res)
res
- Description of the Parameter
public static String getNameFrom(Model mo, String nuri)
public static String getFirstMemberInAltViaProperty(Model mo, String nuri, Property prop)
public static String getDummyResource(String resource)
public static boolean isDummyResource(String dummy)
public static String getResourceFromDummy(String dummy)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |