Class RemoteColor

java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteColor
All Implemented Interfaces:
Serializable

public class RemoteColor extends Object implements Serializable
DTO for a Color object
See Also:
  • Constructor Details

    • RemoteColor

      public RemoteColor()
      The empty constructor
    • RemoteColor

      public RemoteColor(int red, int green, int blue)
      The default constructor without alpha layer
      Parameters:
      red - R color value
      green - G color value
      blue - B color value
    • RemoteColor

      public RemoteColor(Integer red, Integer green, Integer blue, Integer alpha)
      The default constructor with alpha layer
      Parameters:
      red - R color value
      green - G color value
      blue - B color value
      alpha - alpha layer value
  • Method Details

    • getRed

      public Integer getRed()
      Gets red color value
      Returns:
      Integer
    • setRed

      public void setRed(Integer red)
      Sets red color value
      Parameters:
      red - Integer
    • getGreen

      public Integer getGreen()
      Gets green color value
      Returns:
      Integer
    • setGreen

      public void setGreen(Integer green)
      Sets green color value
      Parameters:
      green - Integer
    • getBlue

      public Integer getBlue()
      Gets blue color value
      Returns:
      Integer
    • setBlue

      public void setBlue(Integer blue)
      Sets blue color value
      Parameters:
      blue - Integer
    • getAlpha

      public Integer getAlpha()
      Gets alpha layer value
      Returns:
      Integer
    • setAlpha

      public void setAlpha(Integer alpha)
      Sets alpha layer value
      Parameters:
      alpha - Integer
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object