org.silverpeas.media.web
Class MediaDefinitionEntity

java.lang.Object
  extended by org.silverpeas.media.web.MediaDefinitionEntity

public class MediaDefinitionEntity
extends Object

Author:
Yohann Chastagnier

Constructor Summary
protected MediaDefinitionEntity()
           
 
Method Summary
static MediaDefinitionEntity createFrom(Definition definition)
          Creates a new media definition entity from the specified definition.
 int getHeight()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaDefinitionEntity

protected MediaDefinitionEntity()
Method Detail

createFrom

public static MediaDefinitionEntity createFrom(Definition definition)
Creates a new media definition entity from the specified definition.

Parameters:
definition -
Returns:
the entity representing the specified definition.

getHeight

public int getHeight()
Returns:
the height

getWidth

public int getWidth()
Returns:
the width


Copyright © 2016 Silverpeas. All Rights Reserved.