public class AssetTypeDto
extends Object
| Constructor and Description |
|---|
AssetTypeDto() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAspectsItem(AspectTypeResource apAspectTypeResource)
Convert the Aspect Type Resource to AssetTypeDtoAspects and add it to AssetType
|
AssetTypeDto |
addAspectsItem(AssetTypeDtoAspects aspectsItem)
Add aspectType items to AssetType
|
void |
addAspectsItem(List<AspectTypeResource> aspectTypeResourceList)
Convert a list of Aspect Type Resource to list of AssetTypeDtoAspects and add it to AssetType
|
void |
addAspectsItem(String aspectTypeName,
String aspectTypeId)
Create aspectType item with the name and id and add it to AssetType
|
AssetTypeDto |
addVariablesItem(VariableDefinition variablesItem)
Adds a VariableDefinition to a list of Variable Definitions
|
AssetTypeDto |
aspects(List<AssetTypeDtoAspects> aspects)
Returns an AssetTypeDto instance initialized with list of aspect types
|
AssetTypeDto |
description(String description)
Returns an AssetTypeDto instance initialized with description
|
boolean |
equals(Object o) |
List<AssetTypeDtoAspects> |
getAspects()
Get aspects
|
String |
getDescription()
description
|
String |
getName()
The type\\'s name.
|
String |
getParentTypeId()
parentTypeId
|
ScopeEnum |
getScope()
visibility of the assettype
|
List<VariableDefinition> |
getVariables()
Get variables
|
int |
hashCode() |
AssetTypeDto |
name(String name)
Returns an AssetTypeDto instance initialized with name
|
AssetTypeDto |
parentTypeId(String parentTypeId)
Returns an AssetTypeDto instance initialized with parentTypeId
|
AssetTypeDto |
scope(ScopeEnum scope)
Returns an AssetTypeDto instance initialized with scope
|
void |
setAspects(List<AssetTypeDtoAspects> aspects) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setParentTypeId(String parentTypeId) |
void |
setScope(ScopeEnum scope) |
void |
setVariables(List<VariableDefinition> variables) |
String |
toString() |
AssetTypeDto |
variables(List<VariableDefinition> variables)
Returns an AssetTypeDto instance initialized with list of variables
|
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getParentTypeId()
public void setParentTypeId(String parentTypeId)
public ScopeEnum getScope()
public void setScope(ScopeEnum scope)
public List<VariableDefinition> getVariables()
public void setVariables(List<VariableDefinition> variables)
public List<AssetTypeDtoAspects> getAspects()
public void setAspects(List<AssetTypeDtoAspects> aspects)
public AssetTypeDto name(String name)
name - name to be associated with AssetTypeDtopublic AssetTypeDto description(String description)
description - description to be associated with AssetTypeDtopublic AssetTypeDto parentTypeId(String parentTypeId)
parentTypeId - parentTypeId to be associated with AssetTypeDtopublic AssetTypeDto scope(ScopeEnum scope)
scope - scope to be associated with AssetTypeDto (PRIVATE or PUBLIC)public AssetTypeDto aspects(List<AssetTypeDtoAspects> aspects)
aspects - list of Aspect typespublic AssetTypeDto variables(List<VariableDefinition> variables)
variables - list of Variable Definitionspublic AssetTypeDto addVariablesItem(VariableDefinition variablesItem)
variablesItem - list of Variable Definitionspublic AssetTypeDto addAspectsItem(AssetTypeDtoAspects aspectsItem)
aspectsItem - AssetTypeDtoAspects item that needs to added to the AssetTypepublic void addAspectsItem(String aspectTypeName,
String aspectTypeId)
aspectTypeName - Name of the aspect type to be added to the Asset TypeaspectTypeId - Id of the aspect type to be added to the Asset Typepublic void addAspectsItem(AspectTypeResource apAspectTypeResource)
apAspectTypeResource - Aspect Type to be added to the Asset Typepublic void addAspectsItem(List<AspectTypeResource> aspectTypeResourceList)
aspectTypeResourceList - List of aspects to be added to the Asset Typepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object