com.mkdoc.schema
Class UKeGMSProperty

java.lang.Object
  |
  +--com.mkdoc.schema.AbstractSchemaProperty
        |
        +--com.mkdoc.schema.UKeGMSProperty
All Implemented Interfaces:
SchemaProperty

public class UKeGMSProperty
extends AbstractSchemaProperty
implements SchemaProperty

A Dublin Core Metadata Element schema property.

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

Field Summary
 
Fields inherited from class com.mkdoc.schema.AbstractSchemaProperty
encoding, label, name, uri, uriEncoding
 
Constructor Summary
UKeGMSProperty(java.lang.String uri, java.lang.String label, java.lang.String name)
          Basic constructor for instances without encoding.
UKeGMSProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding)
          Construct a property with an optional encoding scheme.
UKeGMSProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding, boolean uriEncoding)
          Good citizen constructor.
 
Method Summary
 boolean equals(java.lang.Object other)
          Check equivalance of properties.
 java.util.Locale getLocale()
          Get the locale of the property for case conversions, etc.
 java.lang.String getNamespacePrefix()
          Get the namespace prefix for the class.
 java.lang.String getNamespaceUri()
          Get the namespace URI for the class.
 int hashCode()
          Get a distinct hash code value.
 
Methods inherited from class com.mkdoc.schema.AbstractSchemaProperty
getBNodeVariable, getLabel, getName, getNameVariable, getParameterName, getQualifiedName, getUri, hasEncodingScheme, hasUriEncodingScheme
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mkdoc.schema.SchemaProperty
getBNodeVariable, getLabel, getName, getNameVariable, getParameterName, getQualifiedName, getUri, hasEncodingScheme, hasUriEncodingScheme
 

Constructor Detail

UKeGMSProperty

public UKeGMSProperty(java.lang.String uri,
                      java.lang.String label,
                      java.lang.String name)
Basic constructor for instances without encoding.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
Since:
Version 0.1 2005-06-15

UKeGMSProperty

public UKeGMSProperty(java.lang.String uri,
                      java.lang.String label,
                      java.lang.String name,
                      boolean encoding)
Construct a property with an optional encoding scheme.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
encoding - Whether the instance has an encoding scheme that may be applied to it.
Since:
Version 0.3 2005-09-14

UKeGMSProperty

public UKeGMSProperty(java.lang.String uri,
                      java.lang.String label,
                      java.lang.String name,
                      boolean encoding,
                      boolean uriEncoding)
Good citizen constructor.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
encoding - Whether the instance has an encoding scheme that may be applied to it.
uriEncoding - Whether the instance may have a URI encoding scheme.
Since:
Version 0.4 2005-09-15
Method Detail

getNamespacePrefix

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

Specified by:
getNamespacePrefix in interface SchemaProperty
Specified by:
getNamespacePrefix in class AbstractSchemaProperty
Returns:
The namespace prefix for the class.
Since:
Version 0.1 2005-06-16

getNamespaceUri

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

Specified by:
getNamespaceUri in interface SchemaProperty
Returns:
The namespace prefix for the class.
Since:
Version 0.1 2005-06-16

equals

public final boolean equals(java.lang.Object other)
Check equivalance of properties.

Specified by:
equals in class AbstractSchemaProperty
Parameters:
other - The object to compare with this.
Returns:
true if the other object is equivalent to this.
Since:
Version 0.2 2005-06-30

hashCode

public final int hashCode()
Get a distinct hash code value.

Specified by:
hashCode in class AbstractSchemaProperty
Returns:
A distinct hash code value for the property.
Since:
Version 0.2 2005-06-30

getLocale

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

Specified by:
getLocale in interface SchemaProperty
Specified by:
getLocale in class AbstractSchemaProperty
Returns:
The locale for the schema property.
Since:
Version 0.5 2005-10-14