public class AssetDto
extends Object
Constructor and Description |
---|
AssetDto() |
Modifier and Type | Method and Description |
---|---|
AssetDto |
addAspectsItem(Aspect aspectsItem)
Adds aspect to the list of Asset aspects
|
AssetDto |
addVariablesItem(Variable variablesItem)
Adds variable to the list of Asset variables
|
AssetDto |
aspects(List<Aspect> aspects)
Returns an AssetDto instance initialized with list of aspects
|
AssetDto |
description(String description)
Returns an AssetDto instance initialized with description
|
boolean |
equals(Object o) |
AssetDto |
externalId(String externalId)
Returns an AssetDto 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
|
String |
getParentId()
Get parentId
|
String |
getT2Tenant()
The id of the end-customer
|
String |
getTypeId()
Get typeId
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
AssetDto |
location(Location location)
Returns an AssetDto instance initialized with location
|
AssetDto |
name(String name)
Returns an AssetDto instance initialized with name
|
AssetDto |
parentId(String parentId)
Returns an AssetDto instance initialized with parentId
|
void |
setAspects(List<Aspect> aspects) |
void |
setDescription(String description) |
void |
setExternalId(String externalId) |
void |
setLocation(Location location) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setT2Tenant(String t2Tenant) |
void |
setTypeId(String typeId) |
void |
setVariables(List<Variable> variables) |
AssetDto |
t2Tenant(String t2Tenant)
Returns an AssetDto instance initialized with t2Tenant
|
String |
toString() |
AssetDto |
typeId(String typeId)
Returns an AssetDto instance initialized with typeId
|
AssetDto |
variables(List<Variable> variables)
Returns an AssetDto instance initialized with list of variables
|
public AssetDto name(String name)
name
- Name to be associated with AssetDtopublic String getName()
public void setName(String name)
public AssetDto externalId(String externalId)
externalId
- externalId to be associated with Assetpublic String getExternalId()
public void setExternalId(String externalId)
public AssetDto description(String description)
description
- description to be associated with Assetpublic String getDescription()
public void setDescription(String description)
public AssetDto location(Location location)
location
- location to be associated with Assetpublic Location getLocation()
public void setLocation(Location location)
public AssetDto variables(List<Variable> variables)
variables
- variables to be associated with Assetpublic AssetDto addVariablesItem(Variable variablesItem)
variablesItem
- variable to be associated with list of variables of Assetpublic List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public AssetDto aspects(List<Aspect> aspects)
aspects
- aspects to be associated with Assetpublic AssetDto addAspectsItem(Aspect aspectsItem)
aspectsItem
- aspect to be associated with list of aspects of Assetpublic List<Aspect> getAspects()
public void setAspects(List<Aspect> aspects)
public AssetDto typeId(String typeId)
typeId
- typeId to be associated with Assetpublic String getTypeId()
public void setTypeId(String typeId)
public AssetDto t2Tenant(String t2Tenant)
t2Tenant
- t2Tenant to be associated with Assetpublic String getT2Tenant()
public void setT2Tenant(String t2Tenant)
public AssetDto parentId(String parentId)
parentId
- parentId to be associated with Assetpublic String getParentId()
public void setParentId(String parentId)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object