org.mobicents.slee.sippresence.pojo.pidf.geopriv10
Class Geopriv

java.lang.Object
  extended by org.mobicents.slee.sippresence.pojo.pidf.geopriv10.Geopriv

public class Geopriv
extends java.lang.Object

Java class for geopriv complex type.

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

 <complexType name="geopriv">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="location-info" type="{urn:ietf:params:xml:ns:pidf:geopriv10}locInfoType"/>
         <element name="usage-rules" type="{urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy}locPolicyType"/>
         <element name="method" type="{urn:ietf:params:xml:ns:pidf:geopriv10}locMethod" minOccurs="0"/>
         <element name="provided-by" type="{urn:ietf:params:xml:ns:pidf:geopriv10}locProvidedBy" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  LocInfoType locationInfo
           
protected  LocMethod method
           
protected  LocProvidedBy providedBy
           
protected  LocPolicyType usageRules
           
 
Constructor Summary
Geopriv()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 LocInfoType getLocationInfo()
          Gets the value of the locationInfo property.
 LocMethod getMethod()
          Gets the value of the method property.
 LocProvidedBy getProvidedBy()
          Gets the value of the providedBy property.
 LocPolicyType getUsageRules()
          Gets the value of the usageRules property.
 void setLocationInfo(LocInfoType value)
          Sets the value of the locationInfo property.
 void setMethod(LocMethod value)
          Sets the value of the method property.
 void setProvidedBy(LocProvidedBy value)
          Sets the value of the providedBy property.
 void setUsageRules(LocPolicyType value)
          Sets the value of the usageRules property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locationInfo

protected LocInfoType locationInfo

usageRules

protected LocPolicyType usageRules

method

protected LocMethod method

providedBy

protected LocProvidedBy providedBy

any

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

Geopriv

public Geopriv()
Method Detail

getLocationInfo

public LocInfoType getLocationInfo()
Gets the value of the locationInfo property.

Returns:
possible object is LocInfoType

setLocationInfo

public void setLocationInfo(LocInfoType value)
Sets the value of the locationInfo property.

Parameters:
value - allowed object is LocInfoType

getUsageRules

public LocPolicyType getUsageRules()
Gets the value of the usageRules property.

Returns:
possible object is LocPolicyType

setUsageRules

public void setUsageRules(LocPolicyType value)
Sets the value of the usageRules property.

Parameters:
value - allowed object is LocPolicyType

getMethod

public LocMethod getMethod()
Gets the value of the method property.

Returns:
possible object is LocMethod

setMethod

public void setMethod(LocMethod value)
Sets the value of the method property.

Parameters:
value - allowed object is LocMethod

getProvidedBy

public LocProvidedBy getProvidedBy()
Gets the value of the providedBy property.

Returns:
possible object is LocProvidedBy

setProvidedBy

public void setProvidedBy(LocProvidedBy value)
Sets the value of the providedBy property.

Parameters:
value - allowed object is LocProvidedBy

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



Copyright © 2011. All Rights Reserved.