|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DigitalAssetMetaData
DigitalAssetMetaData defines the meta data for a given managed asset.
Nested Class Summary | |
---|---|
static class |
DigitalAssetMetaData.CATEGORY
meta data categories, used to group the properties. |
Method Summary | |
---|---|
java.lang.Object |
getProperty(DigitalAssetMetaData.CATEGORY category,
java.lang.String property)
Gets the property requested from the provided category. |
java.lang.Object |
getProperty(java.lang.String property)
Gets the property requested from the ASSET category. |
java.lang.String |
getResourceName()
Get the resoureName, typically file name of the Digital Asset. |
java.util.Iterator<java.lang.String> |
iterator()
Get an iterator over all meta data property names of this asset. |
void |
setProperty(DigitalAssetMetaData.CATEGORY category,
java.lang.String property,
java.lang.Object value)
Sets the provided value to the property specified in the provided category. |
void |
setProperty(java.lang.String property,
java.lang.Object value)
Sets the provided value to the property specified in the ASSET category. |
Method Detail |
---|
java.lang.String getResourceName()
null
.void setProperty(java.lang.String property, java.lang.Object value) throws java.lang.IllegalArgumentException
null
it has the same effect
as removing the property.
property
- - the property name, not null
value
- - the property value
java.lang.IllegalArgumentException
- if property name is null
void setProperty(DigitalAssetMetaData.CATEGORY category, java.lang.String property, java.lang.Object value) throws java.lang.IllegalArgumentException
null
it has the same effect
as removing the property.
category
- - the property category, null
falls back to ASSETproperty
- - the property name, not null
value
- - the property value
java.lang.IllegalArgumentException
- if property name is null
java.lang.Object getProperty(java.lang.String property) throws java.lang.IllegalArgumentException
property
- - the property name, not null
null
if the property is not found in the ASSET category
java.lang.IllegalArgumentException
- if property name is null
java.lang.Object getProperty(DigitalAssetMetaData.CATEGORY category, java.lang.String property) throws java.lang.IllegalArgumentException
category
- - the property category, null
falls back to ASSETproperty
- - the property name, not null
null
if the property is not found in the given category
java.lang.IllegalArgumentException
- if property name is null
java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |