Class MediaDto
java.lang.Object
org.broadleafcommerce.common.media.domain.MediaDto
- All Implemented Interfaces:
Serializable,Media,Wrappable
A null safe media object.
- Author:
- bpolster
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getTags()getTitle()getUrl()booleanisUnwrappableAs(Class unwrapType) Can this wrapped item be unwrapped as the indicated type?voidsetAltText(String altText) voidvoidvoidvoid<T> TGet the wrapped delegate item
-
Field Details
-
id
protected long id -
url
-
title
-
altText
-
tags
-
-
Constructor Details
-
MediaDto
public MediaDto()
-
-
Method Details
-
getId
-
setId
-
getUrl
-
setUrl
-
getTitle
-
setTitle
-
getAltText
- Specified by:
getAltTextin interfaceMedia
-
setAltText
- Specified by:
setAltTextin interfaceMedia
-
getTags
-
setTags
-
isUnwrappableAs
Description copied from interface:WrappableCan this wrapped item be unwrapped as the indicated type?- Specified by:
isUnwrappableAsin interfaceWrappable- Parameters:
unwrapType- The type to check.- Returns:
- True/false.
-
unwrap
Description copied from interface:WrappableGet the wrapped delegate item
-