raccoon.core.manager.data
Class Component

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

public class Component
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
Component()
          Default constructor for Component.
 
Method Summary
 void addPropertyDefaultValue(Property pPropertyDefaultValues)
          Adder method for propertyDefaultValues.
 void addRequiredComponent(ComponentLink pRequiredComponents)
          Adder method for requiredComponents
 boolean equals(java.lang.Object pObject)
          Equals method for raccoon.core.manager.data.Component
 java.lang.String getComponentClass()
          Getter method for componentClass
 java.lang.String getComponentName()
          Getter method for componentName
 Property getPropertyDefaultValue(java.lang.String pPropertyName)
          Searches for a given propertyDefaultValue
 java.util.Vector getPropertyDefaultValues()
          Getter method for propertyDefaultValues
 Property getPropertyDefaultValues(int pIndex)
          Retrieves the element from the collection propertyDefaultValues at the specified index
 int getPropertyDefaultValuesSize()
          Retrieves the number of elements within the collection propertyDefaultValues.
 java.util.Vector getRequiredComponents()
          Getter method for requiredComponents.
 ComponentLink getRequiredComponents(int pIndex)
          Retrieves the element from the collection requiredComponents at the specified index.
 int getRequiredComponentsSize()
          Retrieves the number of elements within the collection requiredComponents
 int hashCode()
          The hash code algorithm for this component.
 java.util.Iterator iterPropertyDefaultValues()
          Iterator on the elements within the collection propertyDefaultValues
 java.util.Iterator iterRequiredComponents()
          Iterator on the elements within the collection requiredComponents
 void setComponentClass(java.lang.String pComponentClass)
          Setter method for componentClass
 void setComponentName(java.lang.String pComponentName)
          Setter method for componentName
 void setPropertyDefaultValues(int pIndex, Property pPropertyDefaultValues)
          Setter method for propertyDefaultValues.
 void setPropertyDefaultValues(java.util.Vector pPropertyDefaultValues)
          Setter method for propertyDefaultValues
 void setRequiredComponents(int pIndex, ComponentLink pRequiredComponents)
          Setter method for requiredComponents.
 void setRequiredComponents(java.util.Vector pRequiredComponents)
          Setter method for requiredComponents.
 java.lang.String toString()
          toString() method for raccoon.core.manager.data.Component
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Component

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

Method Detail

setPropertyDefaultValues

public void setPropertyDefaultValues(java.util.Vector pPropertyDefaultValues)
Setter method for propertyDefaultValues

Parameters:
pPropertyDefaultValues - the new value for this property

setPropertyDefaultValues

public void setPropertyDefaultValues(int pIndex,
                                     Property pPropertyDefaultValues)
                              throws java.lang.ArrayIndexOutOfBoundsException
Setter method for propertyDefaultValues.

Parameters:
pIndex - the position at which the value should be inserted
pPropertyDefaultValues - 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 propertyDefaultValues

getPropertyDefaultValues

public java.util.Vector getPropertyDefaultValues()
Getter method for propertyDefaultValues

Returns:
the value of PropertyDefaultValues

getPropertyDefaultValue

public Property getPropertyDefaultValue(java.lang.String pPropertyName)
Searches for a given propertyDefaultValue

Parameters:
pPropertyName - the property to find
Returns:
the value of the property

getPropertyDefaultValues

public Property getPropertyDefaultValues(int pIndex)
                                  throws java.lang.ArrayIndexOutOfBoundsException
Retrieves the element from the collection propertyDefaultValues at the specified index

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

iterPropertyDefaultValues

public java.util.Iterator iterPropertyDefaultValues()
Iterator on the elements within the collection propertyDefaultValues

Returns:
the iterator of PropertyDefaultValues

getPropertyDefaultValuesSize

public int getPropertyDefaultValuesSize()
Retrieves the number of elements within the collection propertyDefaultValues.

Returns:
the size of PropertyDefaultValues

addPropertyDefaultValue

public void addPropertyDefaultValue(Property pPropertyDefaultValues)
Adder method for propertyDefaultValues.

Parameters:
pPropertyDefaultValues - the element to add to the collection

setRequiredComponents

public void setRequiredComponents(java.util.Vector pRequiredComponents)
Setter method for requiredComponents.

Parameters:
pRequiredComponents - the new value for this property

setRequiredComponents

public void setRequiredComponents(int pIndex,
                                  ComponentLink pRequiredComponents)
                           throws java.lang.ArrayIndexOutOfBoundsException
Setter method for requiredComponents.

Parameters:
pIndex - the position at which the value should be inserted
pRequiredComponents - 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 requiredComponents

getRequiredComponents

public java.util.Vector getRequiredComponents()
Getter method for requiredComponents.

Returns:
the value of RequiredComponents

getRequiredComponents

public ComponentLink getRequiredComponents(int pIndex)
                                    throws java.lang.ArrayIndexOutOfBoundsException
Retrieves the element from the collection requiredComponents at the specified index.

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

iterRequiredComponents

public java.util.Iterator iterRequiredComponents()
Iterator on the elements within the collection requiredComponents

Returns:
the iterator of RequiredComponents

getRequiredComponentsSize

public int getRequiredComponentsSize()
Retrieves the number of elements within the collection requiredComponents

Returns:
the size of RequiredComponents

addRequiredComponent

public void addRequiredComponent(ComponentLink pRequiredComponents)
Adder method for requiredComponents

Parameters:
pRequiredComponents - the element to add to the collection

setComponentClass

public void setComponentClass(java.lang.String pComponentClass)
Setter method for componentClass

Parameters:
pComponentClass - the new value for this property

getComponentClass

public java.lang.String getComponentClass()
Getter method for componentClass

Returns:
the value of ComponentClass

setComponentName

public void setComponentName(java.lang.String pComponentName)
Setter method for componentName

Parameters:
pComponentName - the new value for this property

getComponentName

public java.lang.String getComponentName()
Getter method for componentName

Returns:
the value of ComponentName

equals

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

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.Component

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

hashCode

public int hashCode()
The hash code algorithm for this component.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code value.


Copyright null null. All Rights Reserved.