org.eclipse.higgins.util.idas.cp
Class ComplexValuePDP

java.lang.Object
  extended byorg.eclipse.higgins.util.idas.cp.ComplexValuePDP
All Implemented Interfaces:
org.eclipse.higgins.idas.api.IAttributeValue, org.eclipse.higgins.idas.api.IBlankEntity, org.eclipse.higgins.idas.api.IComplexAttrValue, org.eclipse.higgins.idas.api.IHasAttributes

public class ComplexValuePDP
extends Object
implements org.eclipse.higgins.idas.api.IComplexAttrValue

TODO currently this is just a set of stubs! Implment the functionality or else we won't work.

Author:
dbuss

Field Summary
 
Fields inherited from interface org.eclipse.higgins.idas.api.IAttributeValue
BASE_OWL_URI
 
Constructor Summary
ComplexValuePDP(IPropertyPDP propertyPDP, URI dataType, org.eclipse.higgins.idas.api.IComplexAttrValue value, boolean isProviderValue)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute arg0)
           
 org.eclipse.higgins.idas.api.IAttribute addAttribute(URI arg0)
           
 boolean equals(org.eclipse.higgins.idas.api.IAttributeValue value)
           
 boolean equals(org.eclipse.higgins.idas.api.IHasAttributes attributes)
           
 org.eclipse.higgins.idas.api.IAttribute getAttribute(URI arg0)
           
 Iterator getAttributes()
           
 URI getDataType()
           
 org.eclipse.higgins.idas.api.model.IEntityModel getModel()
           
 org.eclipse.higgins.idas.api.ISingleValuedAttribute getSingleValuedAttribute(URI attrID)
           
 URI getValueType()
           
 boolean isSimple()
           
 void remove()
           
 void removeAttribute(URI attrID)
           
 void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
           
 void removeAttributeValue(URI attrID, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexValuePDP

public ComplexValuePDP(IPropertyPDP propertyPDP,
                       URI dataType,
                       org.eclipse.higgins.idas.api.IComplexAttrValue value,
                       boolean isProviderValue)
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

getDataType

public URI getDataType()
                throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getDataType in interface org.eclipse.higgins.idas.api.IAttributeValue
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

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

addAttribute

public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI arg0)
                                                     throws org.eclipse.higgins.idas.api.IdASException,
                                                            org.eclipse.higgins.idas.api.InvalidTypeException
Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException

addAttribute

public org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute arg0)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

getAttribute

public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI arg0)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

getAttributes

public Iterator getAttributes()
                       throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttributes in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

getSingleValuedAttribute

public org.eclipse.higgins.idas.api.ISingleValuedAttribute getSingleValuedAttribute(URI attrID)
                                                                             throws org.eclipse.higgins.idas.api.IdASException,
                                                                                    org.eclipse.higgins.idas.api.NotSingleValuedAttributeException
Specified by:
getSingleValuedAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.NotSingleValuedAttributeException

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.IHasAttributes attributes)
               throws org.eclipse.higgins.idas.api.IdASException
Specified by:
equals in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

removeAttribute

public void removeAttribute(URI attrID)
                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

removeAttributeValue

public void removeAttributeValue(URI attrID,
                                 Object value)
                          throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

removeAttributeValue

public void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
                          throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
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