|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.nim.ModifierContainer
public class ModifierContainer
The ModifierContainer class encapsulates an ordered set of Modifier objects that specify a set of batch modifications to the credential space and user space of an Entity.
| Field Summary | |
|---|---|
protected java.util.Vector |
_controlsVec
|
| Constructor Summary | |
|---|---|
ModifierContainer()
Default constructor constructs and empty container. |
|
ModifierContainer(Modifier[] controlsVec)
Constructs a container that contains the Modifier objects passed in. |
|
| Method Summary | |
|---|---|
void |
add(int command,
java.lang.String key,
java.io.Serializable value)
Uses the given arguments to create a Modifier object and adds it to the end of this container. |
void |
add(int command,
java.lang.String key,
java.io.Serializable[] values)
Uses the given arguments to create a Modifier object and adds it to the end of this container. |
void |
add(int command,
java.lang.String key,
java.io.Serializable[] values,
int position)
Uses the given arguments to create a Modifier object and adds it to this container in the speicified position. |
void |
add(int command,
java.lang.String key,
java.io.Serializable value,
int position)
Uses the given arguments to create a Modifier object and adds it to this container in the speicified position. |
void |
addModifier(Modifier control)
Adds the given Modifier to the end of this container. |
void |
addModifier(Modifier control,
int position)
Adds the given Modifier to this container in the specified position. |
Modifier |
getModifier(int position)
Returns the Modifier object at the specified position. |
java.util.Enumeration |
getModifiers()
Returns an Enumeration of the Modifier objects currently stored in this container. |
Modifier |
remove(int position)
Removes the Modifier object at the specified position. |
int |
size()
Returns the current number of Modifier objects currently stored in the ModifierContainer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Vector _controlsVec
| Constructor Detail |
|---|
public ModifierContainer()
public ModifierContainer(Modifier[] controlsVec)
controlsVec - An array of modify control objects. Each modify control
element of the array identifies an operation on a data
control.| Method Detail |
|---|
public java.util.Enumeration getModifiers()
public Modifier getModifier(int position)
position - The relative position of the Modifier object in the
ModifierContainer.
ArrayIndexOutOfBounds - If the requested position is invalid, or outside the size of this
container.public int size()
public void addModifier(Modifier control)
control - The Modifier object that is added to the end of the
container
public void add(int command,
java.lang.String key,
java.io.Serializable[] values)
command - The integer representation of the command to be executed on
the data controlkey - The key used to reference an object in the DataControlvalues - An array of objects associated to the given keyModifier
public void add(int command,
java.lang.String key,
java.io.Serializable value)
command - The integer representation of the command to be executed on
the data controlkey - The key used to reference an object in the DataControlvalue - Reference to the object associated to the given keyModifier
public void addModifier(Modifier control,
int position)
control - The Modifier object to be addedposition - The relative position where the Modifier argument is
added in the container.
public void add(int command,
java.lang.String key,
java.io.Serializable[] values,
int position)
command - The integer representation of the command to be executed on
the data controlkey - The key used to reference an object in the DataControlvalues - An array of objects associated to the given keyposition - The relative position where the Modifier argument is
added in the container.
public void add(int command,
java.lang.String key,
java.io.Serializable value,
int position)
command - The integer representation of the command to be executed on
the data controlkey - The key used to reference an object in the DataControlvalue - Reference to the object associated to the given keyposition - The relative position where the Modifier argument is
added in the container.Modifierpublic Modifier remove(int position)
position - The relative position indicating the Modifier object
to be removed from the container.
ArrayIndexOutOfBounds - If the requested position is invalid, or outside the size of this
container.
|
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.