public class AssetUpdateDto
extends Object
Constructor and Description |
---|
AssetUpdateDto() |
Modifier and Type | Method and Description |
---|---|
AssetUpdateDto |
addAspectsItem(Aspect aspectsItem)
Adds a Aspect to a the list of Aspects of an Asset
|
AssetUpdateDto |
addVariablesItem(Variable variablesItem)
Adds a variable to a the list of variables of an Asset
|
AssetUpdateDto |
aspects(List<Aspect> aspects)
Returns an AssetUpdateDto instance initialized with list of aspects
|
AssetUpdateDto |
description(String description)
Returns an AssetUpdateDto instance initialized with description
|
boolean |
equals(Object o) |
AssetUpdateDto |
externalId(String externalId)
Returns an AssetUpdateDto instance initialized with externalId
|
List<Aspect> |
getAspects()
Get aspects
|
String |
getDescription()
The description of the asset
|
String |
getExternalId()
The id given by the user
|
Location |
getLocation()
Get location
|
String |
getName()
Name of the asset
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
AssetUpdateDto |
location(Location location)
Returns an AssetUpdateDto instance initialized with location
|
AssetUpdateDto |
name(String name)
Returns an AssetUpdateDto instance initialized with name
|
void |
setAspects(List<Aspect> aspects) |
void |
setDescription(String description) |
void |
setExternalId(String externalId) |
void |
setLocation(Location location) |
void |
setName(String name) |
void |
setVariables(List<Variable> variables) |
String |
toString() |
AssetUpdateDto |
variables(List<Variable> variables)
Returns an AssetUpdateDto instance initialized with list of variables
|
public AssetUpdateDto name(String name)
name
- name to be associated with AssetUpdateDtopublic String getName()
public void setName(String name)
public AssetUpdateDto externalId(String externalId)
externalId
- externalId to be associated with AssetUpdateDtopublic String getExternalId()
public void setExternalId(String externalId)
public AssetUpdateDto description(String description)
description
- description to be associated with AssetUpdateDtopublic String getDescription()
public void setDescription(String description)
public AssetUpdateDto location(Location location)
location
- location to be associated with AssetUpdateDtopublic Location getLocation()
public void setLocation(Location location)
public AssetUpdateDto variables(List<Variable> variables)
variables
- list of variables to be associated with AssetUpdateDtopublic AssetUpdateDto addVariablesItem(Variable variablesItem)
variablesItem
- variable to be associated with AssetUpdateDtopublic List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public AssetUpdateDto aspects(List<Aspect> aspects)
aspects
- list of aspects to be associated with AssetUpdateDtopublic AssetUpdateDto addAspectsItem(Aspect aspectsItem)
aspectsItem
- Aspect to be associated with Assetpublic List<Aspect> getAspects()
public void setAspects(List<Aspect> aspects)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object