org.eclipse.higgins.idas.spi
Class BasicSingleValuedAttribute

java.lang.Object
  extended by org.eclipse.higgins.idas.spi.BasicAttribute
      extended by org.eclipse.higgins.idas.spi.BasicSingleValuedAttribute
All Implemented Interfaces:
org.eclipse.higgins.idas.api.IAttribute, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.ISingleValuedAttribute, IAttributeContainer, IAttributeValueContainer

public class BasicSingleValuedAttribute
extends BasicAttribute
implements org.eclipse.higgins.idas.api.ISingleValuedAttribute


Constructor Summary
BasicSingleValuedAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom, IAttributeContainer container, org.eclipse.higgins.idas.api.IContext context)
           
BasicSingleValuedAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom, org.eclipse.higgins.idas.api.IContext context)
           
BasicSingleValuedAttribute(URI type, org.eclipse.higgins.idas.api.IAttributeValue value, org.eclipse.higgins.idas.api.IContext context)
           
BasicSingleValuedAttribute(URI type, org.eclipse.higgins.idas.api.IContext context)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IAttributeValue getValue()
           
 boolean isSingleValued()
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicAttribute
addAttribute, addAttribute, addComplexValue, addSimpleValue, addValue, addValue, equals, equals, getAttribute, getAttributes, getAttrID, getContainer, getModel, getSingleValuedAttribute, getValues, getValues, remove, removeAttribute, removeAttributeValue, removeAttributeValue, setContainer, updateNotification, 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.IAttribute
addComplexValue, addSimpleValue, addValue, addValue, equals, getAttrID, getModel, getValues, getValues, remove
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 

Constructor Detail

BasicSingleValuedAttribute

public BasicSingleValuedAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom,
                                  org.eclipse.higgins.idas.api.IContext context)
                           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

BasicSingleValuedAttribute

public BasicSingleValuedAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom,
                                  IAttributeContainer container,
                                  org.eclipse.higgins.idas.api.IContext context)
                           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

BasicSingleValuedAttribute

public BasicSingleValuedAttribute(URI type,
                                  org.eclipse.higgins.idas.api.IContext context)
                           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

BasicSingleValuedAttribute

public BasicSingleValuedAttribute(URI type,
                                  org.eclipse.higgins.idas.api.IAttributeValue value,
                                  org.eclipse.higgins.idas.api.IContext context)
                           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
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()
Specified by:
isSingleValued in interface org.eclipse.higgins.idas.api.IAttribute
Overrides:
isSingleValued in class BasicAttribute