Module ical4j.core

Class Concept

All Implemented Interfaces:
Serializable, Comparable<Property>, FluentProperty, Prototype<Property>

public class Concept extends Property
     Purpose:
     This property defines the formal categories for a calendar component.
 Value type:
     URI
 Property Parameters:
     IANA and non-standard parameters can be specified on this property.
 Conformance:
     This property can be specified zero or more times in any iCalendar component.
 Description:

     This property is used to specify formal categories or classifications of the calendar component. The values are useful in searching for a calendar component of a particular type and category.
 This categorization is distinct from the more informal "tagging" of components provided by the existing CATEGORIES property. It is expected that the value of the CONCEPT property will reference an external resource that provides information about the categorization.In addition, a structured URI value allows for hierarchical categorization of events.Possible category resources are the various proprietary systems, for example, the Library of Congress, or an open source of categorization data.
 Format Definition:

     This property is defined by the following notation:

   concept        =  "CONCEPT" conceptparam ":"
                         uri CRLF

   conceptparam = *(";" other-param)
 
See Also:
  • Constructor Details

    • Concept

      public Concept()
    • Concept

      public Concept(URI uri)
    • Concept

      public Concept(ParameterList aList, String value)
  • Method Details

    • getUri

      public URI getUri()
    • getValue

      public String getValue()
      Specified by:
      getValue in class Content
      Returns:
      the content value
    • setValue

      public void setValue(String aValue)
      Description copied from class: Property
      Sets the current value of the property.
      Specified by:
      setValue in class Property
      Parameters:
      aValue - a string representation of the property value
    • validate

      public ValidationResult validate() throws ValidationException
      Description copied from class: Property
      Perform validation on a property.
      Specified by:
      validate in class Property
      Throws:
      ValidationException - where the property is not in a valid state
    • newFactory

      protected PropertyFactory<?> newFactory()
      Description copied from class: Property
      Returns a new property factory used to create deep copies.
      Specified by:
      newFactory in class Property
      Returns:
      a property factory instance