org.eclipse.higgins.idas.cp.xmlfile
Class NonsharedAttribute
java.lang.Object
org.eclipse.higgins.idas.cp.xmlfile.NonsharedAttribute
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IAttribute, org.eclipse.higgins.idas.api.IHasMetadata, org.eclipse.higgins.idas.api.ISingleValuedAttribute
- public class NonsharedAttribute
- extends Object
- implements org.eclipse.higgins.idas.api.ISingleValuedAttribute
getAttrID
public URI getAttrID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getAttrID in interface org.eclipse.higgins.idas.api.IAttribute
- 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.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
addValue
public org.eclipse.higgins.idas.api.IAttributeValue addValue(URI type)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addValue in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addValue
public org.eclipse.higgins.idas.api.IAttributeValue addValue(org.eclipse.higgins.idas.api.IAttributeValue copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addValue in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
addSimpleValue
public org.eclipse.higgins.idas.api.ISimpleAttrValue 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.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addComplexValue
public org.eclipse.higgins.idas.api.IComplexAttrValue 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.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
getValue
public org.eclipse.higgins.idas.api.IAttributeValue getValue()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getValue in interface org.eclipse.higgins.idas.api.ISingleValuedAttribute
- 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.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
getModel
public org.eclipse.higgins.idas.api.model.IAttributeModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getModel in interface org.eclipse.higgins.idas.api.IAttribute
- 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.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IAttribute attr)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals in interface org.eclipse.higgins.idas.api.IAttribute
- 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
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
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
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