org.eclipse.higgins.idas.cp.jena2.impl
Class ContextRelationship
java.lang.Object
org.eclipse.higgins.idas.cp.jena2.impl.ContextRelationship
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IContextRelation, org.eclipse.higgins.idas.api.IHasMetadata
- public class ContextRelationship
- extends Object
- implements org.eclipse.higgins.idas.api.IContextRelation
ContextRelationship
public ContextRelationship()
getRelatedObjects
public Iterator getRelatedObjects()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getRelatedObjects in interface org.eclipse.higgins.idas.api.IContextRelation
- Throws:
org.eclipse.higgins.idas.api.IdASException
getType
public URI getType()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getType in interface org.eclipse.higgins.idas.api.IContextRelation
- Throws:
org.eclipse.higgins.idas.api.IdASException
addMetadata
public org.eclipse.higgins.idas.api.IMetadata addMetadata(URI metadataID)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addMetadata
public org.eclipse.higgins.idas.api.IMetadata addMetadata(org.eclipse.higgins.idas.api.IMetadata copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getMetadata
public org.eclipse.higgins.idas.api.IMetadata getMetadata(URI metadataID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getMetadata in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getMetadataSet
public Iterator getMetadataSet()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getMetadataSet in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
addRelatedContext
public void addRelatedContext(URI contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addRelatedContext in interface org.eclipse.higgins.idas.api.IContextRelation
- Throws:
org.eclipse.higgins.idas.api.IdASException
remove
public void remove()
- Specified by:
remove in interface org.eclipse.higgins.idas.api.IContextRelation
removeRelatedContext
public void removeRelatedContext(URI contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
removeRelatedContext in interface org.eclipse.higgins.idas.api.IContextRelation
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IHasMetadata metadataSet)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals in interface org.eclipse.higgins.idas.api.IHasMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException