|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHasAttributes
Method Summary | |
---|---|
void |
addAttribute(IAttribute attribute)
|
IAttribute |
createAttribute(java.net.URI type,
IPropertyValue value)
Creates and adds an attribute for this object. |
IAttribute |
createAttribute(java.net.URI type,
java.lang.Iterable<IPropertyValue> values)
Creates and adds an attribute for this object. |
IAttribute |
getAttribute(java.net.URI attrID)
Return specified attribute of this object |
java.lang.Iterable<IAttribute> |
getAttributes()
Return all attributes of this object |
void |
removeAttribute(IAttribute attribute)
|
Method Detail |
---|
IAttribute createAttribute(java.net.URI type, IPropertyValue value) throws IdASException
type
- The attribute's type.value
- The attribute's value.
IdASException
IAttribute createAttribute(java.net.URI type, java.lang.Iterable<IPropertyValue> values) throws IdASException
type
- The attribute's type.values
- The attribute's values.
IdASException
void addAttribute(IAttribute attribute) throws IdASException
IdASException
void removeAttribute(IAttribute attribute) throws IdASException
IdASException
java.lang.Iterable<IAttribute> getAttributes() throws IdASException
Iterable
object of IAttribute
s.
IdASException
IAttribute getAttribute(java.net.URI attrID) throws IdASException
attrID
- The identifier of the attribute to be returned.
IAttribute
or null
if none exits.
IdASException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |