public class HalTenant extends HalResource<HalTenant> implements HalIdResource
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
name |
static HalRelation |
REL_SELF |
_embedded, _links, linker| Constructor and Description |
|---|
HalTenant() |
| Modifier and Type | Method and Description |
|---|---|
static HalTenant |
fromTenant(Tenant tenant) |
String |
getId()
return the identifier of the resource
|
String |
getName() |
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbeddedpublic static final HalRelation REL_SELF
protected String id
protected String name
public String getId()
HalIdResourcegetId in interface HalIdResourcepublic String getName()
Copyright © 2018. All rights reserved.