Package org.silverpeas.core.webapi.media
Class MediaDefinitionEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.media.MediaDefinitionEntity
-
- All Implemented Interfaces:
Serializable
public class MediaDefinitionEntity extends Object implements Serializable
- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MediaDefinitionEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaDefinitionEntity
createFrom(Definition definition)
Creates a new media definition entity from the specified definition.int
getHeight()
int
getWidth()
-
-
-
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
-
-