org.mobicents.slee.sippresence.pojo.rpid
Class Privacy

java.lang.Object
  extended by org.mobicents.slee.sippresence.pojo.rpid.Privacy

public class Privacy
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="note" type="{urn:ietf:params:xml:ns:pidf:rpid}Note_t" minOccurs="0"/>
         <choice>
           <element name="unknown" type="{urn:ietf:params:xml:ns:pidf:rpid}empty"/>
           <sequence>
             <element name="audio" type="{urn:ietf:params:xml:ns:pidf:rpid}empty" minOccurs="0"/>
             <element name="text" type="{urn:ietf:params:xml:ns:pidf:rpid}empty" minOccurs="0"/>
             <element name="video" type="{urn:ietf:params:xml:ns:pidf:rpid}empty" minOccurs="0"/>
             <any/>
           </sequence>
         </choice>
       </sequence>
       <attGroup ref="{urn:ietf:params:xml:ns:pidf:rpid}fromUntil"/>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  Empty audio
           
protected  javax.xml.datatype.XMLGregorianCalendar from
           
protected  java.lang.String id
           
protected  NoteT note
           
protected  Empty text
           
protected  Empty unknown
           
protected  javax.xml.datatype.XMLGregorianCalendar until
           
protected  Empty video
           
 
Constructor Summary
Privacy()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 Empty getAudio()
          Gets the value of the audio property.
 javax.xml.datatype.XMLGregorianCalendar getFrom()
          Gets the value of the from property.
 java.lang.String getId()
          Gets the value of the id property.
 NoteT getNote()
          Gets the value of the note property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 Empty getText()
          Gets the value of the text property.
 Empty getUnknown()
          Gets the value of the unknown property.
 javax.xml.datatype.XMLGregorianCalendar getUntil()
          Gets the value of the until property.
 Empty getVideo()
          Gets the value of the video property.
 void setAudio(Empty value)
          Sets the value of the audio property.
 void setFrom(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the from property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setNote(NoteT value)
          Sets the value of the note property.
 void setText(Empty value)
          Sets the value of the text property.
 void setUnknown(Empty value)
          Sets the value of the unknown property.
 void setUntil(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the until property.
 void setVideo(Empty value)
          Sets the value of the video property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

note

protected NoteT note

unknown

protected Empty unknown

audio

protected Empty audio

text

protected Empty text

video

protected Empty video

any

protected java.util.List<java.lang.Object> any

id

protected java.lang.String id

from

protected javax.xml.datatype.XMLGregorianCalendar from

until

protected javax.xml.datatype.XMLGregorianCalendar until
Constructor Detail

Privacy

public Privacy()
Method Detail

getNote

public NoteT getNote()
Gets the value of the note property.

Returns:
possible object is NoteT

setNote

public void setNote(NoteT value)
Sets the value of the note property.

Parameters:
value - allowed object is NoteT

getUnknown

public Empty getUnknown()
Gets the value of the unknown property.

Returns:
possible object is Empty

setUnknown

public void setUnknown(Empty value)
Sets the value of the unknown property.

Parameters:
value - allowed object is Empty

getAudio

public Empty getAudio()
Gets the value of the audio property.

Returns:
possible object is Empty

setAudio

public void setAudio(Empty value)
Sets the value of the audio property.

Parameters:
value - allowed object is Empty

getText

public Empty getText()
Gets the value of the text property.

Returns:
possible object is Empty

setText

public void setText(Empty value)
Sets the value of the text property.

Parameters:
value - allowed object is Empty

getVideo

public Empty getVideo()
Gets the value of the video property.

Returns:
possible object is Empty

setVideo

public void setVideo(Empty value)
Sets the value of the video property.

Parameters:
value - allowed object is Empty

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 any property.

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

    getAny().add(newItem);
 

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


getId

public java.lang.String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getFrom

public javax.xml.datatype.XMLGregorianCalendar getFrom()
Gets the value of the from property.

Returns:
possible object is XMLGregorianCalendar

setFrom

public void setFrom(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the from property.

Parameters:
value - allowed object is XMLGregorianCalendar

getUntil

public javax.xml.datatype.XMLGregorianCalendar getUntil()
Gets the value of the until property.

Returns:
possible object is XMLGregorianCalendar

setUntil

public void setUntil(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the until property.

Parameters:
value - allowed object is XMLGregorianCalendar

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2008. All Rights Reserved.