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 Media
public void setAltText(String altText)
setAltText
in interface Media
public boolean isUnwrappableAs(Class unwrapType)
Wrappable
isUnwrappableAs
in interface Wrappable
unwrapType
- The type to check.Copyright © 2022. All rights reserved.