org.eclipse.higgins.idas.cp.jena2.impl
Class Metadata
java.lang.Object
org.eclipse.higgins.idas.cp.jena2.impl.Metadata
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IMetadata
- public class Metadata
- extends Object
- implements org.eclipse.higgins.idas.api.IMetadata
|
Constructor Summary |
Metadata(Context context,
com.hp.hpl.jena.ontology.Individual valueContainer,
com.hp.hpl.jena.ontology.DatatypeProperty property,
Entity subjOwner)
|
Metadata
public Metadata(Context context,
com.hp.hpl.jena.ontology.Individual valueContainer,
com.hp.hpl.jena.ontology.DatatypeProperty property,
Entity subjOwner)
throws org.eclipse.higgins.idas.api.IdASException
getCanonical
public String getCanonical()
throws org.eclipse.higgins.idas.api.IdASException
- 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
getMetaID
public URI getMetaID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getMetaID in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getLexical
public String getLexical()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
getModel
public org.eclipse.higgins.idas.api.model.IMetadataModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getModel in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getDataType
public URI getDataType()
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
remove
public void remove()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
remove in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
setData
public void setData(Object data)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
addComplexValue
public org.eclipse.higgins.idas.api.IComplexMetaValue addComplexValue(URI dataType)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addComplexValue in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addSimpleValue
public org.eclipse.higgins.idas.api.ISimpleMetaValue addSimpleValue(URI dataType,
Object data)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addSimpleValue in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addValue
public org.eclipse.higgins.idas.api.IMetadataValue addValue(URI dataType)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addValue in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addValue
public org.eclipse.higgins.idas.api.IMetadataValue addValue(org.eclipse.higgins.idas.api.IMetadataValue copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addValue in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IMetadata meta)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
getValues
public Iterator getValues()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getValues in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException
isSingleValued
public boolean isSingleValued()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
isSingleValued in interface org.eclipse.higgins.idas.api.IMetadata
- Throws:
org.eclipse.higgins.idas.api.IdASException