Class CompType

java.lang.Object
ietf.params.xml.ns.caldav.CompType

public class CompType extends Object
The name value is a calendar component name (e.g., VEVENT).

Java class for CompType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CompType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice minOccurs="0">
           <element ref="{urn:ietf:params:xml:ns:caldav}allprop"/>
           <element ref="{urn:ietf:params:xml:ns:caldav}prop" maxOccurs="unbounded"/>
         </choice>
         <choice>
           <element ref="{urn:ietf:params:xml:ns:caldav}allcomp"/>
           <element ref="{urn:ietf:params:xml:ns:caldav}comp" maxOccurs="unbounded"/>
         </choice>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CompType

      public CompType()
  • Method Details

    • getAllprop

      public AllpropType getAllprop()
      Gets the value of the allprop property.
      Returns:
      possible object is AllpropType
    • setAllprop

      public void setAllprop(AllpropType value)
      Sets the value of the allprop property.
      Parameters:
      value - allowed object is AllpropType
    • getProp

      public List<PropType> getProp()
      Gets the value of the prop property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the prop property.

      For example, to add a new item, do as follows:

          getProp().add(newItem);
       

      Objects of the following type(s) are allowed in the list PropType

    • getAllcomp

      public AllcompType getAllcomp()
      Gets the value of the allcomp property.
      Returns:
      possible object is AllcompType
    • setAllcomp

      public void setAllcomp(AllcompType value)
      Sets the value of the allcomp property.
      Parameters:
      value - allowed object is AllcompType
    • getComp

      public List<CompType> getComp()
      Gets the value of the comp property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the comp property.

      For example, to add a new item, do as follows:

          getComp().add(newItem);
       

      Objects of the following type(s) are allowed in the list CompType

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String