Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.xcap.model.commonpolicy
Class OneType

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.xcap.model.commonpolicy.OneType

public class OneType
extends Object

The Authorization Rules one element.

Compliant with rfc5025

Author:
Grigorii Balutsel

Constructor Summary
OneType()
          Create the one element.
OneType(String id)
          Create the one element with the id attribute.
 
Method Summary
 Element getAny()
          Gets the value of the any property.
 String getId()
          Gets the value of the id property.
 void setAny(Element any)
          Sets the value of the any property.
 void setId(String id)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneType

public OneType()
Create the one element.


OneType

public OneType(String id)
Create the one element with the id attribute.

Parameters:
id - the id attribute.
Throws:
IllegalArgumentException - if uri attribute is null or empty.
Method Detail

getId

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

Returns:
the id property.

setId

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

Parameters:
id - the id to set.

getAny

public Element getAny()
Gets the value of the any property.

Returns:
the any property.

setAny

public void setAny(Element any)
Sets the value of the any property.

Parameters:
any - the name to set.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.