raccoon.core.manager.data
Class Services

java.lang.Object
  extended by raccoon.core.manager.data.Services

public class Services
extends java.lang.Object

Bean generated by the Raccoon Framework, complies to the Raccoon specification of a java bean.

Thanks to Luca Di Pasquale for the feedback and testing.

Author:
Cedric ROUVRAIS

Constructor Summary
Services()
          Default constructor for Services.
 
Method Summary
 void addComponent(Component pComponents)
          Adder method for components
 boolean equals(java.lang.Object pObject)
          Equals method for raccoon.core.manager.data.Services
 java.util.Vector getComponents()
          Getter method for components
 Component getComponents(int pIndex)
          Retrieves the element from the collection components at the specified index
 int getComponentsSize()
          Retrieves the number of elements within the collection components
 java.lang.String getName()
          Getter method for name
 java.util.Iterator iterComponents()
          Iterator on the elements within the collection components
 void setComponents(int pIndex, Component pComponents)
          Setter method for components
 void setComponents(java.util.Vector pComponents)
          Setter method for components
 void setName(java.lang.String pName)
          Setter method for name
 java.lang.String toString()
          toString() method for raccoon.core.manager.data.Services
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Services

public Services()
Default constructor for Services. Required by Raccoon for transport over the EAI bus

Method Detail

setComponents

public void setComponents(java.util.Vector pComponents)
Setter method for components

Parameters:
pComponents - the new value for this property

setComponents

public void setComponents(int pIndex,
                          Component pComponents)
                   throws java.lang.ArrayIndexOutOfBoundsException
Setter method for components

Parameters:
pIndex - the position at which the value should be inserted
pComponents - the new value to be inserted at the given index
Throws:
java.lang.ArrayIndexOutOfBoundsException - if the index is negative or not less than the current size of components

getComponents

public java.util.Vector getComponents()
Getter method for components

Returns:
the value of Components

getComponents

public Component getComponents(int pIndex)
                        throws java.lang.ArrayIndexOutOfBoundsException
Retrieves the element from the collection components at the specified index

Parameters:
pIndex - index of the desired element
Returns:
the value of components[pIndex]
Throws:
java.lang.ArrayIndexOutOfBoundsException - if the index is negative or not less than the current size of components

iterComponents

public java.util.Iterator iterComponents()
Iterator on the elements within the collection components

Returns:
the iterator of Components

getComponentsSize

public int getComponentsSize()
Retrieves the number of elements within the collection components

Returns:
the size of Components

addComponent

public void addComponent(Component pComponents)
Adder method for components

Parameters:
pComponents - the element to add to the collection

setName

public void setName(java.lang.String pName)
Setter method for name

Parameters:
pName - the new value for this property

getName

public java.lang.String getName()
Getter method for name

Returns:
the value of Name

equals

public boolean equals(java.lang.Object pObject)
Equals method for raccoon.core.manager.data.Services

Overrides:
equals in class java.lang.Object
Parameters:
pObject - the object that this instance has to be compared to.
Returns:
true if the two objects contain the same data.
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
toString() method for raccoon.core.manager.data.Services

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright null null. All Rights Reserved.