com.vhosting.netconf.frame
Class LeafList

java.lang.Object
  extended by com.vhosting.netconf.frame.Identity
      extended by com.vhosting.netconf.frame.LeafList

public class LeafList
extends Identity

This class represents an element of an RPC structure that identifies a leaf list in the Netconf RPC, RPC Reply or Notification message.

Version:
1.00, 09/10/2010

Field Summary
 
Fields inherited from class com.vhosting.netconf.frame.Identity
name, namespaceURI, prefix
 
Method Summary
 long getMaximum()
          Get the maximum limit of values which can be assigned.
 long getMinimum()
          Get the minimum limit of values which can be assigned.
 void reset()
          Reset the Minimum and Maximum limits in 0 to Long.MAX_VALUE.
 void setMaximun(long max)
          Set the maximum limit of values which can be assigned.
 void setMinimun(long min)
          Set the minimum limit of values which can be assigned.
 
Methods inherited from class com.vhosting.netconf.frame.Identity
getName, getNamespaceURI, getPrefix, getUniqueNane
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reset

public void reset()
Reset the Minimum and Maximum limits in 0 to Long.MAX_VALUE.


setMinimun

public void setMinimun(long min)
Set the minimum limit of values which can be assigned.

Parameters:
min - The minimum limit of values which can be assigned.

setMaximun

public void setMaximun(long max)
Set the maximum limit of values which can be assigned.

Parameters:
max - The maximum limit of values which can be assigned.

getMinimum

public final long getMinimum()
Get the minimum limit of values which can be assigned.

Returns:
The minimum limit of values which can be assigned.

getMaximum

public final long getMaximum()
Get the maximum limit of values which can be assigned.

Returns:
The maximum limit of values which can be assigned.