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.IBlankEntity, org.eclipse.higgins.idas.api.IComplexAttrValue, org.eclipse.higgins.idas.api.IHasAttributes
- Direct Known Subclasses:
- BasicComplexValue
- 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 |
Methods inherited from class org.eclipse.higgins.idas.spi.BasicAttributeSet |
addAttribute, addAttribute, addUnnotifiedAttribute, addUnnotifiedAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeUnnotifiedAttribute, updateNotification |
Methods inherited from interface org.eclipse.higgins.idas.api.IAttributeValue |
getDataType |
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue |
AbstractComplexValue
public AbstractComplexValue(URI type,
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 IAttribute
s.
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
getModel
public org.eclipse.higgins.idas.api.model.IEntityModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getModel
in interface org.eclipse.higgins.idas.api.IBlankEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException
getValueType
public URI getValueType()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getValueType
in interface org.eclipse.higgins.idas.api.IAttributeValue
- Throws:
org.eclipse.higgins.idas.api.IdASException