org.eclipse.higgins.idas.cp.xmlfile
Class NonsharedAttribute
java.lang.Object
org.eclipse.higgins.idas.cp.xmlfile.NonsharedAttribute
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IAttribute, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.ISingleValuedAttribute
- public class NonsharedAttribute
- extends Object
- implements org.eclipse.higgins.idas.api.ISingleValuedAttribute
getAttrID
public URI getAttrID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getAttrID
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
getValues
public Iterator getValues()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getValues
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
getValues
public Iterator getValues(org.eclipse.higgins.idas.api.IExtension[] extensions)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getValues
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
addValue
public org.eclipse.higgins.idas.api.IAttributeValue addValue(URI type)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addValue
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addValue
public org.eclipse.higgins.idas.api.IAttributeValue addValue(org.eclipse.higgins.idas.api.IAttributeValue copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addValue
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
addSimpleValue
public org.eclipse.higgins.idas.api.ISimpleAttrValue addSimpleValue(URI dataType,
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
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
addComplexValue
public org.eclipse.higgins.idas.api.IComplexAttrValue addComplexValue(URI dataType)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
- Specified by:
addComplexValue
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
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
remove
public void remove()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
remove
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
getModel
public org.eclipse.higgins.idas.api.model.IAttributeModel getModel()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getModel
in interface org.eclipse.higgins.idas.api.IAttribute
- 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
- Throws:
org.eclipse.higgins.idas.api.IdASException
equals
public boolean equals(org.eclipse.higgins.idas.api.IAttribute attr)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
equals
in interface org.eclipse.higgins.idas.api.IAttribute
- Throws:
org.eclipse.higgins.idas.api.IdASException
addAttribute
public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI attrID)
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 copyFrom)
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
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
getAttribute
public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI attrID)
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
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