org.w3c.ddr.simple
Interface PropertyName


public interface PropertyName

This class represents the name of a property, drawn from a particular vocabulary (which is identified by a unique namespace). Refer to the vocabulary definition for the list of terms, their formal names (IDs) and their semantics.

Author:
Jo Rabin (dotMobi),
Jose Manuel Cantera Fonseca (Telefonica I+D),
Rotan Hanrahan (MobileAware),
Ignacio Marin (Fundacion CTIC)
Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
W3C liability, trademark and document use rules apply.
See Also:
PropertyRef, Service.newPropertyName(java.lang.String)

Method Summary
 java.lang.String getLocalPropertyName()
          The formal name (ID) of the property term from a vocabulary of property terms.
 java.lang.String getNamespace()
          The namespace of the vocabulary containing the property term.
 

Method Detail

getLocalPropertyName

java.lang.String getLocalPropertyName()
The formal name (ID) of the property term from a vocabulary of property terms. The names are locally unique within their vocabulary.

Returns:
The formal name of the term from its vocabulary.

getNamespace

java.lang.String getNamespace()
The namespace of the vocabulary containing the property term. It is not a requirement that a namespace IRI can be dereferenced, nor is it a requirement that any content obtained by dereferencing a namespace IRI can be machine-interpreted.

Returns:
An IRI.