Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

org.csapi.schema.parlayx.presence.consumer.v2_3.local
Class SubscribePresence

java.lang.Object
  extended by org.csapi.schema.parlayx.presence.consumer.v2_3.local.SubscribePresence

public class SubscribePresence
extends java.lang.Object

Java class for subscribePresence complex type.

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

 <complexType name="subscribePresence">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="presentity" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="attributes" type="{http://www.csapi.org/schema/parlayx/presence/v2_3}PresenceAttributeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="application" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="reference" type="{http://www.csapi.org/schema/parlayx/common/v2_1}SimpleReference"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
SubscribePresence()
           
 
Method Summary
 java.lang.String getApplication()
          Gets the value of the application property.
 List<PresenceAttributeType> getAttributes()
          Gets the value of the attributes property.
 java.lang.String getPresentity()
          Gets the value of the presentity property.
 SimpleReference getReference()
          Gets the value of the reference property.
 void setApplication(java.lang.String value)
          Sets the value of the application property.
 void setPresentity(java.lang.String value)
          Sets the value of the presentity property.
 void setReference(SimpleReference value)
          Sets the value of the reference property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscribePresence

public SubscribePresence()
Method Detail

getApplication

public java.lang.String getApplication()
Gets the value of the application property.

Returns:
possible object is String

getAttributes

public List<PresenceAttributeType> getAttributes()
Gets the value of the attributes 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 attributes property.

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

    getAttributes().add(newItem);
 

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


getPresentity

public java.lang.String getPresentity()
Gets the value of the presentity property.

Returns:
possible object is String

getReference

public SimpleReference getReference()
Gets the value of the reference property.

Returns:
possible object is SimpleReference

setApplication

public void setApplication(java.lang.String value)
Sets the value of the application property.

Parameters:
value - allowed object is String

setPresentity

public void setPresentity(java.lang.String value)
Sets the value of the presentity property.

Parameters:
value - allowed object is String

setReference

public void setReference(SimpleReference value)
Sets the value of the reference property.

Parameters:
value - allowed object is SimpleReference

Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

Copyright © 2005, 2010 Oracle and/or its affiliates. All rights reserved.