public class Entity extends 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(Object obj) |
List<Action> |
getActions()
Returns the actions.
|
String[] |
getClazz()
Returns the class property.
|
List<Entity> |
getEntities()
Returns the sub-entities.
|
String |
getHref()
Returns the hef property.
|
List<Link> |
getLinks()
Returns the links.
|
Map<String,Object> |
getProperties()
Returns the properties.
|
String[] |
getRel()
Returns the rel property.
|
String |
getTitle()
Returns the title property.
|
String |
getType()
Returns the type property.
|
int |
hashCode() |
void |
setActions(List<Action> actions)
Sets the actions.
|
void |
setClazz(String[] clazz)
Sets the class property.
|
void |
setEntities(List<Entity> entities)
Sets the sub-entities.
|
void |
setHref(String href)
Sets the href property.
|
void |
setLinks(List<Link> links)
Sets the links.
|
void |
setProperties(Map<String,Object> properties)
Sets the properties.
|
void |
setRel(String[] rel)
Sets the rel property.
|
void |
setTitle(String title)
Sets the title property.
|
void |
setType(String type)
Sets the type property.
|
String |
toString() |
public String[] getClazz()
public void setClazz(String[] clazz)
clazz
- the class to setpublic String[] getRel()
public void setRel(String[] rel)
rel
- the rel to setpublic String getHref()
public void setHref(String href)
href
- the href to setpublic String getType()
public void setType(String type)
href
- the type to setpublic String getTitle()
public void setTitle(String title)
title
- the title to setpublic Map<String,Object> getProperties()
public void setProperties(Map<String,Object> properties)
properties
- the properties to setpublic void setEntities(List<Entity> entities)
entities
- the entities to setpublic void setActions(List<Action> actions)
actions
- the actions to set"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"