public class DomainEntity extends Object
Modifier and Type | Field and Description |
---|---|
protected ServiceCategory |
category |
protected String |
currentState |
protected String |
domainID |
protected String |
name |
protected Set<String> |
states |
Constructor and Description |
---|
DomainEntity() |
DomainEntity(ServiceCategory category,
String domainID,
String name,
String... states) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static DomainEntity |
fromJson(String json) |
ServiceCategory |
getCategory() |
String |
getCurrentState() |
String |
getDomainID() |
String |
getName() |
Set<String> |
getStates() |
int |
hashCode() |
DomainEntity |
hasState(String state) |
void |
setCategory(ServiceCategory category) |
void |
setCurrentState(String currentState) |
void |
setDomainID(String domainID) |
String |
toJson() |
void |
updateStateList(Object[] theStates) |
protected String domainID
protected String name
protected ServiceCategory category
protected String currentState
public DomainEntity()
public DomainEntity(ServiceCategory category, String domainID, String name, String... states)
public void updateStateList(Object[] theStates)
public DomainEntity hasState(String state)
public String getDomainID()
public ServiceCategory getCategory()
public void setDomainID(String domainID)
public String getName()
public void setCategory(ServiceCategory category)
public String getCurrentState()
public void setCurrentState(String currentState)
public String toJson()
public static DomainEntity fromJson(String json)
Copyright © 2016. All Rights Reserved.