T
- the generic typepublic abstract class BaseResourceDTO extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseResourceDTO() |
protected |
BaseResourceDTO(Map<String,Link> links,
Messages messages)
Instantiates a new base resource dto.
|
Modifier and Type | Method and Description |
---|---|
Link |
getLink(String name)
Gets the link.
|
Map<String,Link> |
getLinks()
Gets the links.
|
Messages |
getMessages()
Returns the messages that were reported when this resource was created.
|
public final Link getLink(String name)
name
- the name of the link to look for.public Messages getMessages()
null
if retrieved in a session in which we did not
create this resource.Copyright © 2014 JBoss by Red Hat. All rights reserved.