org.eclipse.higgins.idas.spi
Class AbstractComplexValue
java.lang.Object
org.eclipse.higgins.idas.spi.BasicAttributeSet
org.eclipse.higgins.idas.spi.AbstractComplexValue
- 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
- Direct Known Subclasses:
- BasicComplexValue, BasicValueSubjectRelationship
- public abstract class AbstractComplexValue
- extends BasicAttributeSet
- implements org.eclipse.higgins.idas.api.IComplexAttrValue
Basic implementation of IComplexAttrValue. Uses IAttributeValueContainer.
| Fields inherited from interface org.eclipse.higgins.idas.api.IAttributeValue |
BASE_OWL_URI |
|
Method Summary |
org.eclipse.higgins.idas.api.IMetadata |
addMetadata(org.eclipse.higgins.idas.api.IMetadata copyFrom)
|
org.eclipse.higgins.idas.api.IMetadata |
addMetadata(URI metadataID)
|
boolean |
equals(org.eclipse.higgins.idas.api.IAttributeValue value)
|
boolean |
equals(org.eclipse.higgins.idas.api.IHasMetadata metadataSet)
|
org.eclipse.higgins.idas.api.IMetadata |
getMetadata(URI metadataID)
|
Iterator |
getMetadataSet()
|
boolean |
isSimple()
|
void |
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 interface org.eclipse.higgins.idas.api.IAttributeValue |
getType |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue |
AbstractComplexValue
public AbstractComplexValue()
throws org.eclipse.higgins.idas.api.IdASException
AbstractComplexValue
public AbstractComplexValue(IAttributeValueContainer container)
throws org.eclipse.higgins.idas.api.IdASException
AbstractComplexValue
public AbstractComplexValue(Iterator attrs,
IAttributeValueContainer container)
throws org.eclipse.higgins.idas.api.IdASException
- Note that the container's updateNotification is not called while
the attributes in attrs are being added.
- Parameters:
attrs - Contains IAttributes.
isSimple
public boolean isSimple()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
isSimple in interface org.eclipse.higgins.idas.api.IAttributeValue
- 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.IAttributeValue
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IAttributeValue value)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals in interface org.eclipse.higgins.idas.api.IAttributeValue
- 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
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