|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.component.repository.ComponentRequirement
public class ComponentRequirement
This represents a component this is required by another component.
| Constructor Summary | |
|---|---|
ComponentRequirement()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getFieldMappingType()
Returns the type of the field this component requirement will inject. |
java.lang.String |
getFieldName()
Returns the field name that this component requirement will inject. |
java.lang.String |
getHumanReadableKey()
Returns a human-friendly key, suitable for display. |
java.lang.String |
getRole()
Returns the role of the required component. |
java.lang.String |
getRoleHint()
Returns the role-hint of the required component. |
int |
hashCode()
|
void |
setFieldMappingType(java.lang.String fieldType)
Sets the type of the field that will be populated by the required component. |
void |
setFieldName(java.lang.String fieldName)
Sets the name of the field that will be populated by the required component. |
void |
setRole(java.lang.String role)
Sets the role of the require component. |
void |
setRoleHint(java.lang.String roleHint)
Sets the role-hint of the require component. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentRequirement()
| Method Detail |
|---|
public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
fieldName - the name of the field to be populatedpublic java.lang.String getRole()
public void setRole(java.lang.String role)
role - the required component's rolepublic java.lang.String getRoleHint()
public void setRoleHint(java.lang.String roleHint)
roleHint - the required component's role-hintpublic java.lang.String getFieldMappingType()
public void setFieldMappingType(java.lang.String fieldType)
fieldType - the type of the field to be populatedpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getHumanReadableKey()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||