|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extended by interfaces which have metadata associated with them.
TODO (Doc): Add (or point to) doc which explains metadata.
Method Summary | |
---|---|
IMetadata |
addMetadata(IMetadata copyFrom)
Creates a new Metadata element for this container of metadata by copying the data from the passed IMetadata. |
IMetadata |
addMetadata(URI metadataType)
Creates a new Metadata element for this container of metadata. |
boolean |
equals(IHasMetadata metadataSet)
Returns true if the passed metadata set is equal to this one. |
IMetadata |
getMetadata(URI metadataType)
Returns the specified metadata of this object. |
Iterator |
getMetadataSet()
Returns this Object's metadata elements as an Iterable. |
Method Detail |
public Iterator getMetadataSet() throws IdASException
IMetadata
IdASException
public IMetadata getMetadata(URI metadataType) throws IdASException
metadataType
- The identifier of the metadata to be returned.
IMetadata
or if none exits.
IdASException
public IMetadata addMetadata(URI metadataType) throws IdASException, InvalidTypeException
IMetadata#setData(Object)
on the returned IMetadata
Note: This operation is only applied to any backing data store after
IContext.applyUpdates()
is called.
metadataType
- The URI specifying the type of Metadata being created
{@link
- IdASException}
{@link
- InvalidTypeException} when the metadataID is invalid
IdASException
InvalidTypeException
public IMetadata addMetadata(IMetadata copyFrom) throws IdASException
IContext.applyUpdates()
is called.
copyFrom
- an IMetadata
from which data is copied to construct a new
Metadata element.
{@link
- IdASException}
IdASException
public boolean equals(IHasMetadata metadataSet) throws IdASException
metadataSet
- the set of metadata to compare to this one
IdASException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |