Class CalendarList.CalendarListItem

  • Enclosing class:
    CalendarList

    public static class CalendarList.CalendarListItem
    extends java.lang.Object
    Stores the name of a calendar/keyword its unique id.
    • Constructor Summary

      Constructors 
      Constructor Description
      CalendarListItem​(java.lang.String id, java.lang.String name)
      CalendarListItem is used by api-calls CalendarCondition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Returns the ID of this CALE object.
      java.lang.String getName()
      Returns the name of this CALE object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CalendarListItem

        public CalendarListItem​(java.lang.String id,
                                java.lang.String name)
        CalendarListItem is used by api-calls CalendarCondition. constructor must be public to allow creating CalendarListIitems without a new backend call
        Parameters:
        id - oh_idnr of the calendar
        name - Name of the calendar
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the ID of this CALE object.
        Returns:
        ID
      • getName

        public java.lang.String getName()
        Returns the name of this CALE object.
        Returns:
        Name
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object