com.mkdoc.schema
Interface SchemaProperty

All Known Implementing Classes:
DCElementProperty, DCTermProperty, UKeGMSProperty

public interface SchemaProperty

Loosely modelled on an RDF Schema class.

Version:
0.6 2005-10-14
Author:
Philip Shaw

Method Summary
 java.lang.String getBNodeVariable()
          Get a unique varible name for extended bNode queries.
 java.lang.String getLabel()
          Get the human-readable label for the class.
 java.util.Locale getLocale()
          Get the locale of the property for case conversions, etc.
 java.lang.String getName()
          Get a unique "camel case" name for the class.
 java.lang.String getNamespacePrefix()
          Get the namespace prefix for the class.
 java.lang.String getNamespaceUri()
          Get the namespace URI for the class.
 java.lang.String getNameVariable()
          Get a unique name varible for query handling.
 java.lang.String getParameterName()
          Get a unique parameter name for HTML form handling.
 java.lang.String getQualifiedName()
          Get the qualified name of the class, with namespace prefix.
 java.lang.String getUri()
          Get the resource URI of the class.
 boolean hasEncodingScheme()
          Check whether a schema property may have an encoding scheme.
 boolean hasUriEncodingScheme()
          Check whether a schema property may have a URI encoding scheme.
 

Method Detail

getUri

public java.lang.String getUri()
Get the resource URI of the class.

Returns:
The URI of the class.
Since:
Version 0.1 2005-06-15

getLabel

public java.lang.String getLabel()
Get the human-readable label for the class.

Returns:
The human-readable label for the class.
Since:
Version 0.1 2005-06-15

getName

public java.lang.String getName()
Get a unique "camel case" name for the class.

This often, but not always, coincides with the URI suffix for the type.

Returns:
A name that is unique within a given schema.

getQualifiedName

public java.lang.String getQualifiedName()
Get the qualified name of the class, with namespace prefix.

Returns:
The qualified name of the class with a namespace prefix.
Since:
Version 0.2 2005-06-16

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Get the namespace prefix for the class.

Returns:
The namespace prefix for the class.
Since:
Version 0.2 2005-06-16

getNamespaceUri

public java.lang.String getNamespaceUri()
Get the namespace URI for the class.

Returns:
The namespace prefix for the class.
Since:
Version 0.2 2005-06-16

getNameVariable

public java.lang.String getNameVariable()
Get a unique name varible for query handling.

Returns:
A unique name variable for the class.
Since:
Version 0.2 2005-06-16

getBNodeVariable

public java.lang.String getBNodeVariable()
Get a unique varible name for extended bNode queries.

Returns:
A unique bNode variable name for the class.
Since:
Version 0.4 2005-09-13

getParameterName

public java.lang.String getParameterName()
Get a unique parameter name for HTML form handling.

Returns:
A unique parameter name for the class.
Since:
Version 0.3 2005-06-17

hasEncodingScheme

public boolean hasEncodingScheme()
Check whether a schema property may have an encoding scheme.

Returns:
true if the property may have an encoding scheme.
Since:
Version 0.4 2005-09-14

hasUriEncodingScheme

public boolean hasUriEncodingScheme()
Check whether a schema property may have a URI encoding scheme.

Returns:
true if the property may have a URI encoding scheme.
Since:
Version 0.5 2005-09-15

getLocale

public java.util.Locale getLocale()
Get the locale of the property for case conversions, etc.

Returns:
The locale for the schema property.
Since:
Version 0.6 2005-10-14