public class ViewContent
extends java.lang.Object
implements java.io.Serializable
View content containing all content necessary to render a view except for runtime input data.
| Constructor and Description |
|---|
ViewContent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getActions()
A list of actions possible from the view
|
java.lang.String |
getInputSchema()
The schema representing the input data that the view template must be
supplied to render.
|
java.lang.String |
getTemplate()
The view template representing the structure of the view.
|
int |
hashCode() |
void |
setActions(java.util.Collection<java.lang.String> actions)
A list of actions possible from the view
|
void |
setInputSchema(java.lang.String inputSchema)
The schema representing the input data that the view template must be
supplied to render.
|
void |
setTemplate(java.lang.String template)
The view template representing the structure of the view.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ViewContent |
withActions(java.util.Collection<java.lang.String> actions)
A list of actions possible from the view
|
ViewContent |
withActions(java.lang.String... actions)
A list of actions possible from the view
|
ViewContent |
withInputSchema(java.lang.String inputSchema)
The schema representing the input data that the view template must be
supplied to render.
|
ViewContent |
withTemplate(java.lang.String template)
The view template representing the structure of the view.
|
public java.lang.String getInputSchema()
The schema representing the input data that the view template must be supplied to render.
The schema representing the input data that the view template must be supplied to render.
public void setInputSchema(java.lang.String inputSchema)
The schema representing the input data that the view template must be supplied to render.
inputSchema - The schema representing the input data that the view template must be supplied to render.
public ViewContent withInputSchema(java.lang.String inputSchema)
The schema representing the input data that the view template must be supplied to render.
Returns a reference to this object so that method calls can be chained together.
inputSchema - The schema representing the input data that the view template must be supplied to render.
public java.lang.String getTemplate()
The view template representing the structure of the view.
The view template representing the structure of the view.
public void setTemplate(java.lang.String template)
The view template representing the structure of the view.
template - The view template representing the structure of the view.
public ViewContent withTemplate(java.lang.String template)
The view template representing the structure of the view.
Returns a reference to this object so that method calls can be chained together.
template - The view template representing the structure of the view.
public java.util.List<java.lang.String> getActions()
A list of actions possible from the view
A list of actions possible from the view
public void setActions(java.util.Collection<java.lang.String> actions)
A list of actions possible from the view
actions - A list of actions possible from the view
public ViewContent withActions(java.lang.String... actions)
A list of actions possible from the view
Returns a reference to this object so that method calls can be chained together.
actions - A list of actions possible from the view
public ViewContent withActions(java.util.Collection<java.lang.String> actions)
A list of actions possible from the view
Returns a reference to this object so that method calls can be chained together.
actions - A list of actions possible from the view
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object