Constructor and Description |
---|
EntityBuilder() |
Modifier and Type | Method and Description |
---|---|
EntityBuilder |
addAction(Action action) |
EntityBuilder |
addEntity(Entity entity) |
EntityBuilder |
addLink(Link link) |
EntityBuilder |
addProperty(java.lang.String name,
java.lang.Object value) |
EntityBuilder |
clear()
Resets all fields to their default values.
|
EntityBuilder |
setActions(java.util.List<Action> actions) |
EntityBuilder |
setClass(java.lang.String[] clazz) |
EntityBuilder |
setEntities(java.util.List<Entity> entities) |
EntityBuilder |
setHref(java.lang.String href) |
EntityBuilder |
setLinks(java.util.List<Link> links) |
EntityBuilder |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
EntityBuilder |
setRel(java.lang.String[] rel) |
EntityBuilder |
setTitle(java.lang.String title) |
public EntityBuilder setTitle(java.lang.String title)
public EntityBuilder setClass(java.lang.String[] clazz)
public EntityBuilder setRel(java.lang.String[] rel)
public EntityBuilder setHref(java.lang.String href)
public EntityBuilder setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
public EntityBuilder addProperty(java.lang.String name, java.lang.Object value)
public EntityBuilder setEntities(java.util.List<Entity> entities)
public EntityBuilder addEntity(Entity entity)
public EntityBuilder setLinks(java.util.List<Link> links)
public EntityBuilder addLink(Link link)
public EntityBuilder setActions(java.util.List<Action> actions)
public EntityBuilder addAction(Action action)
public EntityBuilder clear()
Builder
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"