org.eclipse.higgins.idas.spi
Class BasicValueSubjectRelationship

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.BasicAttributeSet
      extended byorg.eclipse.higgins.idas.spi.AbstractComplexValue
          extended byorg.eclipse.higgins.idas.spi.BasicValueSubjectRelationship
All Implemented Interfaces:
IAttributeContainer, org.eclipse.higgins.idas.api.IAttributeValue, org.eclipse.higgins.idas.api.IComplexAttrValue, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.IHasMetadata

public class BasicValueSubjectRelationship
extends AbstractComplexValue
implements org.eclipse.higgins.idas.api.IComplexAttrValue


Field Summary
static URI CONTEXT_REF_TYPE_URI
           
static URI SUBJECT_CUID_TYPE_URI
           
 
Fields inherited from interface org.eclipse.higgins.idas.api.IAttributeValue
BASE_OWL_URI
 
Constructor Summary
BasicValueSubjectRelationship(URI type, IAttributeValueContainer container)
           
BasicValueSubjectRelationship(URI type, Iterator attrs, IAttributeValueContainer container)
           
BasicValueSubjectRelationship(URI type, URI contextRef, String cuid, IAttributeValueContainer container)
           
 
Method Summary
 Object getData()
           
 URI getType()
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.AbstractComplexValue
addMetadata, addMetadata, equals, equals, getMetadata, getMetadataSet, isSimple, remove
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicAttributeSet
addAttribute, addAttribute, addUnnotifiedAttribute, addUnnotifiedAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, updateNotification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.api.IAttributeValue
equals, isSimple, remove
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasMetadata
addMetadata, addMetadata, equals, getMetadata, getMetadataSet
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 

Field Detail

CONTEXT_REF_TYPE_URI

public static final URI CONTEXT_REF_TYPE_URI

SUBJECT_CUID_TYPE_URI

public static final URI SUBJECT_CUID_TYPE_URI
Constructor Detail

BasicValueSubjectRelationship

public BasicValueSubjectRelationship(URI type,
                                     IAttributeValueContainer container)
                              throws org.eclipse.higgins.idas.api.IdASException

BasicValueSubjectRelationship

public BasicValueSubjectRelationship(URI type,
                                     Iterator attrs,
                                     IAttributeValueContainer container)
                              throws org.eclipse.higgins.idas.api.IdASException
Parameters:
type -
attrs - Contains IAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

BasicValueSubjectRelationship

public BasicValueSubjectRelationship(URI type,
                                     URI contextRef,
                                     String cuid,
                                     IAttributeValueContainer container)
                              throws org.eclipse.higgins.idas.api.IdASException
Parameters:
type - Type of SubjectRelationship (typically sub-type of SubjectRelationship)
contextRef - reference to the Context holding the referred-to IDigitalSubject
cuid - Contextually Unique Identifier of the referred-to IDigitalSubject.
Method Detail

getType

public URI getType()
            throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getType in interface org.eclipse.higgins.idas.api.IAttributeValue
Throws:
org.eclipse.higgins.idas.api.IdASException

getData

public Object getData()
               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException