org.eclipse.higgins.idas.spi
Class AbstractComplexValue

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.BasicAttributeSet
      extended byorg.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.


Field Summary
 
Fields inherited from interface org.eclipse.higgins.idas.api.IAttributeValue
BASE_OWL_URI
 
Constructor Summary
AbstractComplexValue(URI type, Iterator attrs, IAttributeValueContainer container)
          Note that the container's updateNotification is not called while the attributes in attrs are being added.
 
Method Summary
 boolean equals(org.eclipse.higgins.idas.api.IAttributeValue value)
           
 org.eclipse.higgins.idas.api.model.IEntityModel getModel()
           
 URI getValueType()
           
 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, removeUnnotifiedAttribute, updateNotification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

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 IAttributes.
Method Detail

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