|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object raccoon.core.manager.data.Component
public class Component
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.
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 |
---|
public Component()
Method Detail |
---|
public void setPropertyDefaultValues(java.util.Vector pPropertyDefaultValues)
pPropertyDefaultValues
- the new value for this propertypublic void setPropertyDefaultValues(int pIndex, Property pPropertyDefaultValues) throws java.lang.ArrayIndexOutOfBoundsException
pIndex
- the position at which the value should be insertedpPropertyDefaultValues
- the new value to be inserted at the given index
java.lang.ArrayIndexOutOfBoundsException
- if the index is negative or not less than the
current size of propertyDefaultValues
public java.util.Vector getPropertyDefaultValues()
public Property getPropertyDefaultValue(java.lang.String pPropertyName)
pPropertyName
- the property to find
public Property getPropertyDefaultValues(int pIndex) throws java.lang.ArrayIndexOutOfBoundsException
propertyDefaultValues
at the specified index
pIndex
- index of the desired element
propertyDefaultValues[pIndex]
java.lang.ArrayIndexOutOfBoundsException
- if the index is negative or not less than the
current size of propertyDefaultValues
public java.util.Iterator iterPropertyDefaultValues()
public int getPropertyDefaultValuesSize()
public void addPropertyDefaultValue(Property pPropertyDefaultValues)
pPropertyDefaultValues
- the element to add to the collectionpublic void setRequiredComponents(java.util.Vector pRequiredComponents)
pRequiredComponents
- the new value for this propertypublic void setRequiredComponents(int pIndex, ComponentLink pRequiredComponents) throws java.lang.ArrayIndexOutOfBoundsException
pIndex
- the position at which the value should be insertedpRequiredComponents
- the new value to be inserted at the given index
java.lang.ArrayIndexOutOfBoundsException
- if the index is negative or not less than the
current size of requiredComponents
public java.util.Vector getRequiredComponents()
public ComponentLink getRequiredComponents(int pIndex) throws java.lang.ArrayIndexOutOfBoundsException
requiredComponents
at the specified index.
pIndex
- index of the desired element
requiredComponents[pIndex]
java.lang.ArrayIndexOutOfBoundsException
- if the index is negative or not less than the
current size of requiredComponents
public java.util.Iterator iterRequiredComponents()
public int getRequiredComponentsSize()
public void addRequiredComponent(ComponentLink pRequiredComponents)
pRequiredComponents
- the element to add to the collectionpublic void setComponentClass(java.lang.String pComponentClass)
pComponentClass
- the new value for this propertypublic java.lang.String getComponentClass()
public void setComponentName(java.lang.String pComponentName)
pComponentName
- the new value for this propertypublic java.lang.String getComponentName()
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
pObject
- the object that this instance has to be compared to.
true
if the two objects contain the same data.Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |