|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.packet.AvpABNF
public class AvpABNF
The AvpABNF class is used to define the characteristics that a grouped AVP must have to be
a valid AVP. It applies to grouped AVPs which include other AVPs some of which
might be required, others that are optional, and so on. This information is used by
the AvpValidatorUtil
classes to validate the structure of the Avp
object.
Field Summary | |
---|---|
protected java.util.ArrayList<java.lang.Integer> |
optionalButSingleInstanceAvps
A list of all the AVPs that are optional, but if present are only allowed a single instance |
protected java.util.ArrayList<java.lang.Integer> |
optionalMoreThanOneAvps
A list of all the AVPs that are optional |
protected java.util.ArrayList<java.lang.Integer> |
requiredButSingleInstanceAvps
A list of all the AVPs that are required and must contain only a single instance. |
protected java.util.ArrayList<java.lang.Integer> |
requiredMoreThanOneAvps
A list of all the AVPs that require at least one instance, but allow multiple instances. |
Constructor Summary | |
---|---|
AvpABNF(java.util.ArrayList<java.lang.Integer> optionalButSingleInstanceAvps,
java.util.ArrayList<java.lang.Integer> optionalMoreThanOneAvps,
java.util.ArrayList<java.lang.Integer> requiredButSingleInstanceAvps,
java.util.ArrayList<java.lang.Integer> requiredMoreThanOneAvps)
Creates an instance of AvpABNF |
Method Summary | |
---|---|
java.util.ArrayList<java.lang.Integer> |
getOptionalButSingleInstanceAvps()
Returns the ArrayList of Integers representing AVPs that are optional, but may occur only once. |
java.util.ArrayList<java.lang.Integer> |
getOptionalMoreThanOneAvps()
Returns the ArrayList of Integers representing AVPs that are optional, but may occur multiple times. |
java.util.ArrayList<java.lang.Integer> |
getRequiredButSingleInstanceAvps()
Returns the ArrayList of Integers representing AVPs that are required, but must only once. |
java.util.ArrayList<java.lang.Integer> |
getRequiredMoreThanOneAvps()
Returns the ArrayList of Integers representing AVPs that are required, but may occur more than once. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList<java.lang.Integer> requiredButSingleInstanceAvps
protected java.util.ArrayList<java.lang.Integer> requiredMoreThanOneAvps
protected java.util.ArrayList<java.lang.Integer> optionalMoreThanOneAvps
protected java.util.ArrayList<java.lang.Integer> optionalButSingleInstanceAvps
Constructor Detail |
---|
public AvpABNF(java.util.ArrayList<java.lang.Integer> optionalButSingleInstanceAvps, java.util.ArrayList<java.lang.Integer> optionalMoreThanOneAvps, java.util.ArrayList<java.lang.Integer> requiredButSingleInstanceAvps, java.util.ArrayList<java.lang.Integer> requiredMoreThanOneAvps)
optionalButSingleInstanceAvps
- An ArrayList of Integer objects containing the
AVP codes of AVPs that are optional, but can only be present once.optionalMoreThanOneAvps
- An ArrayList of Integer objects containing the
AVP codes of AVPs that are optional, but can have multiple occurences.requiredButSingleInstanceAvps
- An ArrayList of Integer objects containing the
AVP codes of AVPs that are required, and must occur only once.requiredMoreThanOneAvps
- An ArrayList of Integer objects containing the
AVP codes of AVPs that are required, but may have multiple occurences.Method Detail |
---|
public java.util.ArrayList<java.lang.Integer> getOptionalButSingleInstanceAvps()
public java.util.ArrayList<java.lang.Integer> getOptionalMoreThanOneAvps()
public java.util.ArrayList<java.lang.Integer> getRequiredButSingleInstanceAvps()
public java.util.ArrayList<java.lang.Integer> getRequiredMoreThanOneAvps()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |