Package org.dajlab.rebrickableapi.v3.vo
Class Element
- java.lang.Object
-
- org.dajlab.rebrickableapi.v3.vo.Element
-
public class Element extends Object
Describes an element.- Author:
- Erik Amzallag
-
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()StringgetDesignId()StringgetElementId()PartgetPart()StringgetPartImgUrl()voidsetColor(Color color)voidsetDesignId(String designId)voidsetElementId(String elementId)voidsetPart(Part part)voidsetPartImgUrl(String partImgUrl)
-
-
-
Method Detail
-
getElementId
public String getElementId()
- Returns:
- the elementId
-
setElementId
public void setElementId(String elementId)
- Parameters:
elementId- the elementId to set
-
getDesignId
public String getDesignId()
- Returns:
- the designId
-
setDesignId
public void setDesignId(String designId)
- Parameters:
designId- the designId to set
-
getPartImgUrl
public String getPartImgUrl()
- Returns:
- the partImgUrl
-
setPartImgUrl
public void setPartImgUrl(String partImgUrl)
- Parameters:
partImgUrl- the partImgUrl to set
-
getPart
public Part getPart()
- Returns:
- the part
-
setPart
public void setPart(Part part)
- Parameters:
part- the part to set
-
getColor
public Color getColor()
- Returns:
- the color
-
setColor
public void setColor(Color color)
- Parameters:
color- the color to set
-
-