|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.schema.AbstractSchemaProperty
A base class for schema resource types.
Field Summary | |
protected boolean |
encoding
Whether the property has encoding schemes that may apply to it. |
protected java.lang.String |
label
The resource label. |
protected java.lang.String |
name
The unique resource name. |
protected java.lang.String |
uri
The resource URI. |
protected boolean |
uriEncoding
Whether the property may have a URI encoding schemes. |
Constructor Summary | |
AbstractSchemaProperty()
|
Method Summary | |
abstract boolean |
equals(java.lang.Object other)
Check equivalance of properties. |
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. |
abstract 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. |
abstract java.lang.String |
getNamespacePrefix()
Get the namespace prefix 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. |
abstract int |
hashCode()
Get a distinct hash code value. |
boolean |
hasUriEncodingScheme()
Check whether a schema property may have a URI encoding scheme. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String uri
protected java.lang.String label
protected java.lang.String name
protected boolean encoding
protected boolean uriEncoding
Constructor Detail |
public AbstractSchemaProperty()
Method Detail |
public final java.lang.String getUri()
public final java.lang.String getLabel()
public final java.lang.String getName()
This often, but not always, coincides with the URI suffix for the type.
public final java.lang.String getQualifiedName()
public final java.lang.String getNameVariable()
public final java.lang.String getBNodeVariable()
public abstract java.lang.String getNamespacePrefix()
public final java.lang.String getParameterName()
public final boolean hasEncodingScheme()
true
if the property may have an encoding scheme.public final boolean hasUriEncodingScheme()
true
if the property may have a URI encoding
scheme.public abstract boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- The object to compare with this.
true
if the other object is equivalent to this.public abstract int hashCode()
hashCode
in class java.lang.Object
public abstract java.util.Locale getLocale()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |