org.codehaus.plexus.component.repository
public class ComponentRequirement extends Object
Version: $Id: ComponentRequirement.java 6965 2007-10-21 05:32:27Z jvanzyl $
Field Summary | |
---|---|
String | fieldMappingType |
String | fieldName |
String | role |
String | roleHint |
Method Summary | |
---|---|
boolean | equals(Object other) |
String | getFieldMappingType()
Returns the type of the field this component requirement will inject. |
String | getFieldName()
Returns the field name that this component requirement will inject. |
String | getHumanReadableKey()
Returns a human-friendly key, suitable for display. |
String | getRole()
Returns the role of the required component. |
String | getRoleHint()
Returns the role-hint of the required component. |
int | hashCode() |
void | setFieldMappingType(String fieldType)
Sets the type of the field that will be populated by the required
component. |
void | setFieldName(String fieldName)
Sets the name of the field that will be populated by the required
component. |
void | setRole(String role)
Sets the role of the require component. |
void | setRoleHint(String roleHint)
Sets the role-hint of the require component.
|
String | toString() |
Returns: the type of the field this component requirement will inject
Returns: the field name that this component requirement will inject
Returns: a human-friendly key
Returns: the role of the required component
Returns: the role-hint of the required component
Parameters: fieldType the type of the field to be populated
Parameters: fieldName the name of the field to be populated
Parameters: role the required component's role
Parameters: roleHint the required component's role-hint