java.lang.Object
org.vaadin.addons.componentfactory.schedulexcalendar.model.Resource
All Implemented Interfaces:
Serializable

public class Resource extends Object implements Serializable
See Also:
  • Constructor Details

    • Resource

      public Resource(String id)
      Constructs an Resource with the specified id.
      Parameters:
      id - the id of the resource
  • Method Details

    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getLabelHtml

      public String getLabelHtml()
    • setLabelHtml

      public void setLabelHtml(String labelHtml)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getColorName

      public String getColorName()
    • setColorName

      public void setColorName(String colorName)
    • getLightColors

      public Calendar.ColorDefinition getLightColors()
    • setLightColors

      public void setLightColors(Calendar.ColorDefinition lightColors)
    • getDarkColors

      public Calendar.ColorDefinition getDarkColors()
    • setDarkColors

      public void setDarkColors(Calendar.ColorDefinition darkColors)
    • getResources

      public List<Resource> getResources()
    • setResources

      public void setResources(List<Resource> resources)
    • isOpen

      public boolean isOpen()
    • setOpen

      public void setOpen(boolean isOpen)
    • hashCode

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

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

      public String getJson()