public class Entity
extends java.lang.Object
Entity
is a URI-addressable resource that has properties and
actions associated with it. It may contain sub-entities and navigational
links.Constructor and Description |
---|
Entity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Action> |
getActions()
Returns the actions.
|
java.lang.String[] |
getClazz()
Returns the class property.
|
java.util.List<Entity> |
getEntities()
Returns the sub-entities.
|
java.lang.String |
getHref()
Returns the hef property.
|
java.util.List<Link> |
getLinks()
Returns the links.
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns the properties.
|
java.lang.String[] |
getRel()
Returns the rel property.
|
java.lang.String |
getTitle()
Returns the title property.
|
java.lang.String |
getType()
Returns the type property.
|
int |
hashCode() |
void |
setActions(java.util.List<Action> actions)
Sets the actions.
|
void |
setClazz(java.lang.String[] clazz)
Sets the class property.
|
void |
setEntities(java.util.List<Entity> entities)
Sets the sub-entities.
|
void |
setHref(java.lang.String href)
Sets the href property.
|
void |
setLinks(java.util.List<Link> links)
Sets the links.
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets the properties.
|
void |
setRel(java.lang.String[] rel)
Sets the rel property.
|
void |
setTitle(java.lang.String title)
Sets the title property.
|
void |
setType(java.lang.String type)
Sets the type property.
|
java.lang.String |
toString() |
public java.lang.String[] getClazz()
public void setClazz(java.lang.String[] clazz)
clazz
- the class to setpublic java.lang.String[] getRel()
public void setRel(java.lang.String[] rel)
rel
- the rel to setpublic java.lang.String getHref()
public void setHref(java.lang.String href)
href
- the href to setpublic java.lang.String getType()
public void setType(java.lang.String type)
href
- the type to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- the properties to setpublic java.util.List<Entity> getEntities()
public void setEntities(java.util.List<Entity> entities)
entities
- the entities to setpublic java.util.List<Link> getLinks()
public void setLinks(java.util.List<Link> links)
links
- the links to setpublic java.util.List<Action> getActions()
public void setActions(java.util.List<Action> actions)
actions
- the actions to setpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"