public class Asset
extends Object
implements Serializable
Constructor and Description |
---|
Asset() |
Modifier and Type | Method and Description |
---|---|
Asset |
addAspectsItem(Aspect aspectsItem) |
Asset |
addFileAssignmentsItem(FileAssignment fileAssignmentsItem) |
Asset |
addVariablesItem(Variable variablesItem) |
Asset |
aspects(List<Aspect> aspects) |
Asset |
description(String description) |
boolean |
equals(Object o) |
Asset |
externalId(String externalId) |
Asset |
fileAssignments(List<FileAssignment> fileAssignments) |
List<Aspect> |
getAspects()
Get aspects
|
String |
getDescription()
The description of the asset
|
String |
getExternalId()
The id given by the user
|
List<FileAssignment> |
getFileAssignments()
Get fileAssignments
|
Location |
getLocation()
Get location
|
String |
getName()
Name of the asset
|
String |
getParentId()
Get parentId
|
String |
getTimezone()
Get timezone
|
TwinType |
getTwinType()
Get twinType
|
String |
getTypeId()
Get typeId
|
List<Variable> |
getVariables()
Get variables
|
int |
hashCode() |
Asset |
location(Location location) |
Asset |
name(String name) |
Asset |
parentId(String parentId) |
void |
setAspects(List<Aspect> aspects) |
void |
setDescription(String description) |
void |
setExternalId(String externalId) |
void |
setFileAssignments(List<FileAssignment> fileAssignments) |
void |
setLocation(Location location) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setTimezone(String timezone) |
void |
setTwinType(TwinType twinType) |
void |
setTypeId(String typeId) |
void |
setVariables(List<Variable> variables) |
Asset |
timezone(String timezone) |
String |
toString() |
Asset |
twinType(TwinType twinType) |
Asset |
typeId(String typeId) |
Asset |
variables(List<Variable> variables) |
public Asset name(String name)
public String getName()
public void setName(String name)
public Asset externalId(String externalId)
public String getExternalId()
public void setExternalId(String externalId)
public Asset description(String description)
public String getDescription()
public void setDescription(String description)
public Location getLocation()
public void setLocation(Location location)
public List<Variable> getVariables()
public void setVariables(List<Variable> variables)
public List<Aspect> getAspects()
public void setAspects(List<Aspect> aspects)
public Asset fileAssignments(List<FileAssignment> fileAssignments)
public Asset addFileAssignmentsItem(FileAssignment fileAssignmentsItem)
public List<FileAssignment> getFileAssignments()
public void setFileAssignments(List<FileAssignment> fileAssignments)
public Asset typeId(String typeId)
public String getTypeId()
public void setTypeId(String typeId)
public Asset parentId(String parentId)
public String getParentId()
public void setParentId(String parentId)
public Asset timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public TwinType getTwinType()
public void setTwinType(TwinType twinType)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object