PDAttrs: method and constructor summary

The PDAttrs class represents a collection of attributes. Attributes are used to encapsulate input and output data sent to and received from authorization and administration service functions. Each attribute consists of entries that have a name and one or more values. The names are Strings, and the values can of type String, byte array, Long, or PDAdmSvcPobj.

Several of the constructors for this class use the context parameter, of class com.tivoli.pd.jutil.PDBasicContext. This class is a superclass of the ISAM contexts. The context to be passed for the authorization APIs is a subclass such as PDContext.

See the Javadoc information in the ISAM Runtime for Java installation package for detailed documentation about this class.

Methods and Constructors Description

PDAttrs

Constructors that create an instance of the PDAttrs class.

 

add

Methods for adding the specified value to the collection of values for the specified name in this PDAttrs.

addAll

Adds all the elements in the specified PDAttrs to this PDAttrs.

allowDups

Returns the current value of allowDups.

clear

Clears the current PDAttrs.

clone

Clones the current PDAttrs.

delete

Removes the named attribute from the PDAttrs.

entrySet

Returns a set view of the entries in the PDAttrs.

equals

Whether some other Object is equal to this one.

get

Deprecated. Use getValues instead.

getAttrlist_t

Method getAttrlist_t. Adds the contents of this PDAttrs to the attrlist_t data structure passed into this method.

getNames

Method getNames. Returns the keys in a String array.

getQoP

Returns the current value of QoP.

getValues

Returns the values to which this PDAttrs maps the specified key.

hashCode

Returns a hashcode for the current object.

iKeySet

Method iKeySet. Returns the keys HashSet in upper-cased Strings.

keySet

Returns a set view of the keys contained in this PDAttrs.

setAttrlist_t

Method setAttrlist_t. Sets the contents of this PDAttrs to the attrlist_t data structure passed into this method.

setQoP

Sets the current value of QoP.

size

Returns the number of key-values mappings in the current PDAttrs.

toString

Returns a String representation of this object.

Parent topic: Classes from com.tivoli.pd.jutil package