org.eclipse.higgins.idas.cp.jena2.impl
Class SingleValuedAttribute

java.lang.Object
  extended byorg.eclipse.higgins.idas.cp.jena2.impl.Attribute
      extended byorg.eclipse.higgins.idas.cp.jena2.impl.SingleValuedAttribute
All Implemented Interfaces:
org.eclipse.higgins.idas.api.IAttribute, org.eclipse.higgins.idas.api.IHasMetadata, org.eclipse.higgins.idas.api.ISingleValuedAttribute

public class SingleValuedAttribute
extends Attribute
implements org.eclipse.higgins.idas.api.ISingleValuedAttribute


Method Summary
 org.eclipse.higgins.idas.api.IComplexAttrValue addComplexValue(URI type)
           
 org.eclipse.higgins.idas.api.ISimpleAttrValue addSimpleValue(URI type, Object data)
           
 org.eclipse.higgins.idas.api.IAttributeValue getValue()
           
 boolean isSingleValued()
           
 
Methods inherited from class org.eclipse.higgins.idas.cp.jena2.impl.Attribute
addMetadata, addMetadata, addValue, addValue, equals, equals, getAttributeProperty, getAttrID, getMetadata, getMetadataSet, getModel, getOwner, getOwnerClass, getSubjectOwner, getValues, remove
 
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.IAttribute
addValue, addValue, equals, getAttrID, getModel, getValues, remove
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasMetadata
addMetadata, addMetadata, equals, getMetadata, getMetadataSet
 

Method Detail

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

isSingleValued

public boolean isSingleValued()
                       throws org.eclipse.higgins.idas.api.IdASException
Specified by:
isSingleValued in interface org.eclipse.higgins.idas.api.IAttribute
Overrides:
isSingleValued in class Attribute
Throws:
org.eclipse.higgins.idas.api.IdASException

addComplexValue

public org.eclipse.higgins.idas.api.IComplexAttrValue addComplexValue(URI type)
                                                               throws org.eclipse.higgins.idas.api.IdASException,
                                                                      org.eclipse.higgins.idas.api.InvalidTypeException
Specified by:
addComplexValue in interface org.eclipse.higgins.idas.api.IAttribute
Overrides:
addComplexValue in class Attribute
Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException

addSimpleValue

public org.eclipse.higgins.idas.api.ISimpleAttrValue addSimpleValue(URI type,
                                                                    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
Overrides:
addSimpleValue in class Attribute
Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException