public class MediaDto extends Object implements Media
| Modifier and Type | Field and Description |
|---|---|
protected String |
altText |
protected long |
id |
protected String |
tags |
protected String |
title |
protected String |
url |
| Constructor and Description |
|---|
MediaDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAltText() |
Long |
getId() |
String |
getTags() |
String |
getTitle() |
String |
getUrl() |
boolean |
isUnwrappableAs(Class unwrapType)
Can this wrapped item be unwrapped as the indicated type?
|
void |
setAltText(String altText) |
void |
setId(Long id) |
void |
setTags(String tags) |
void |
setTitle(String title) |
void |
setUrl(String url) |
<T> T |
unwrap(Class<T> unwrapType)
Get the wrapped delegate item
|
protected long id
protected String url
protected String title
protected String altText
protected String tags
public String getAltText()
getAltText in interface Mediapublic void setAltText(String altText)
setAltText in interface Mediapublic boolean isUnwrappableAs(Class unwrapType)
WrappableisUnwrappableAs in interface WrappableunwrapType - The type to check.Copyright © 2017. All rights reserved.