info.magnolia.dam.asset.metadata
Class BaseMagnoliaAssetMetadata

java.lang.Object
  extended by info.magnolia.dam.asset.metadata.BaseMagnoliaAssetMetadata
All Implemented Interfaces:
AssetMetadata, MagnoliaAssetMetadata
Direct Known Subclasses:
JcrMagnoliaAssetMetadata

public class BaseMagnoliaAssetMetadata
extends Object
implements MagnoliaAssetMetadata

Base implementation of MagnoliaAssetMetadata.


Field Summary
 
Fields inherited from interface info.magnolia.dam.asset.metadata.MagnoliaAssetMetadata
NAME
 
Constructor Summary
BaseMagnoliaAssetMetadata()
           
 
Method Summary
 String getAssetMetadataIdentifier()
          Return the Asset Name.
 int getHeight()
           
 int getWidth()
           
 void setHeight(int height)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMagnoliaAssetMetadata

public BaseMagnoliaAssetMetadata()
Method Detail

getAssetMetadataIdentifier

public String getAssetMetadataIdentifier()
Description copied from interface: AssetMetadata
Return the Asset Name.

Specified by:
getAssetMetadataIdentifier in interface AssetMetadata

getHeight

public int getHeight()
Specified by:
getHeight in interface MagnoliaAssetMetadata
Returns:
the height

setHeight

public void setHeight(int height)
Parameters:
height - the height to set

getWidth

public int getWidth()
Specified by:
getWidth in interface MagnoliaAssetMetadata
Returns:
the width

setWidth

public void setWidth(int width)
Parameters:
width - the width to set


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.