|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHasMetadata
Extended by interfaces which have metadata associated with them.
TODO: Add (or point to) doc which explains metadata.
Method Summary | |
---|---|
void |
addMetadata(IMetadata metadata)
|
IMetadata |
createMetadata(URI type,
IPropertyValue value)
Creates a metadata item which can be added to metadata held by this Object. |
Iterable<IMetadata> |
getMetadataSet()
Returns this Object's metadata elements as an Iterable. |
void |
removeMetadata(IMetadata metadata)
|
Method Detail |
---|
IMetadata createMetadata(URI type, IPropertyValue value) throws IdASException
type
- The type of metadata. This defines the datatype of the value.value
- The value of this metadata. The type of this is determined by the type arg.
IdASException
- TODO: Specify whether this also adds the produced IMetadata to this Object, or if addItem must subsequently be called.TODO: If this method also adds, note that updates to the returned IMetadata affect the added item (i.e. a reference, not a copy is stored).
void addMetadata(IMetadata metadata) throws IdASException
IdASException
void removeMetadata(IMetadata metadata) throws IdASException
IdASException
Iterable<IMetadata> getMetadataSet() throws IdASException
IdASException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |