org.w3c.ddr.simple
Interface PropertyRef


public interface PropertyRef

Represents a Property / Aspect combination. The Property is as defined by the PropertyName class, comprising a term from a vocabulary and a namespace for that vocabulary.

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:
Service.newPropertyRef(org.w3c.ddr.simple.PropertyName), Service.newPropertyRef(org.w3c.ddr.simple.PropertyName, String localAspectName), PropertyName

Field Summary
static java.lang.String NULL_ASPECT
          This constant value is used to support Vocabularies that do not distinguish Aspects.
 
Method Summary
 java.lang.String getAspectName()
          The name of the aspect, according to a vocabulary of aspect terms.
 java.lang.String getLocalPropertyName()
          The name of the property, according to a vocabulary of property terms.
 java.lang.String getNamespace()
          The namespace of the property and aspect terms.
 

Field Detail

NULL_ASPECT

static final java.lang.String NULL_ASPECT
This constant value is used to support Vocabularies that do not distinguish Aspects.

The value of this constant shall be "__NULL".

See Also:
Constant Field Values
Method Detail

getLocalPropertyName

java.lang.String getLocalPropertyName()
The name of the property, according to a vocabulary of property terms.

Returns:
A term from a vocabulary (for use as a property identifier).

getAspectName

java.lang.String getAspectName()
The name of the aspect, according to a vocabulary of aspect terms.

Returns:
A term from a vocabulary (for use as an Aspect identifier).

getNamespace

java.lang.String getNamespace()
The namespace of the property and aspect terms. In the Simple API, the namespace of the Aspect is determined by the namespace of the Property. Future APIs are expected to relax this relationship to permit Aspects from other namespaces.

Returns:
An IRI.