Package de.ssis.eln.api.dto.vehicle
Class Equipment
- java.lang.Object
-
- de.ssis.eln.api.dto.vehicle.Equipment
-
public class Equipment extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private String
categoryTag
Unique identifier for the equipment category this equipment belongs to.private String
categoryText
Equipment category this equipment belongs to; Translation of equipmentCategoryTag.private Long
id
Unique identifier of this equipment across the entire ELN database.private Boolean
notForResellers
If true, this equipment is not suitable for inclusion on reseller pages (due to containing adress data, financing examples or similar)private Boolean
optional
Is optional equipment that might cause additional fees to be charged in case it is added to the vehicle, aka, it is not stock equipment.private Boolean
optionalForInStock
Ist Aufpreiszubehör bei Lagerfahrzeug Y/Nprivate Map<PriceType,Price>
prices
List of defined prices for this equipment.private String
text
Equipment text to display
-
Constructor Summary
Constructors Constructor Description Equipment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategoryTag()
String
getCategoryText()
Long
getId()
Boolean
getNotForResellers()
Boolean
getOptional()
Boolean
getOptionalForInStock()
Map<PriceType,Price>
getPrices()
String
getText()
void
setCategoryTag(String categoryTag)
void
setCategoryText(String categoryText)
void
setId(Long id)
void
setNotForResellers(Boolean notForResellers)
void
setOptional(Boolean optional)
void
setOptionalForInStock(Boolean optionalForInStock)
void
setPrices(Map<PriceType,Price> prices)
void
setText(String text)
-
-
-
Field Detail
-
id
private Long id
Unique identifier of this equipment across the entire ELN database.
-
text
private String text
Equipment text to display
-
categoryTag
private String categoryTag
Unique identifier for the equipment category this equipment belongs to.
-
categoryText
private String categoryText
Equipment category this equipment belongs to; Translation of equipmentCategoryTag.
-
prices
private Map<PriceType,Price> prices
List of defined prices for this equipment. (commonly DEALER and CONSUMER price)
-
optional
private Boolean optional
Is optional equipment that might cause additional fees to be charged in case it is added to the vehicle, aka, it is not stock equipment. Y/N
-
notForResellers
private Boolean notForResellers
If true, this equipment is not suitable for inclusion on reseller pages (due to containing adress data, financing examples or similar)
-
optionalForInStock
private Boolean optionalForInStock
Ist Aufpreiszubehör bei Lagerfahrzeug Y/N
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getText
public String getText()
-
setText
public void setText(String text)
-
getCategoryTag
public String getCategoryTag()
-
setCategoryTag
public void setCategoryTag(String categoryTag)
-
getCategoryText
public String getCategoryText()
-
setCategoryText
public void setCategoryText(String categoryText)
-
getOptional
public Boolean getOptional()
-
setOptional
public void setOptional(Boolean optional)
-
getNotForResellers
public Boolean getNotForResellers()
-
setNotForResellers
public void setNotForResellers(Boolean notForResellers)
-
getOptionalForInStock
public Boolean getOptionalForInStock()
-
setOptionalForInStock
public void setOptionalForInStock(Boolean optionalForInStock)
-
-