public class ComponentRequirement
extends java.lang.Object
| Constructor and Description |
|---|
ComponentRequirement() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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