|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CmpFieldType<T>
This interface defines the contract for the cmp-fieldType xsd type
Original Documentation:
The cmp-fieldType describes a container-managed field. The
cmp-fieldType contains an optional description of the field,
and the name of the field.
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getFieldName()
Returns the field-name element |
CmpFieldType<T> |
removeAllDescription()
Removes the description element |
CmpFieldType<T> |
removeFieldName()
Removes the field-name element |
CmpFieldType<T> |
setDescription(java.lang.String description)
Creates a new description element |
CmpFieldType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
CmpFieldType<T> |
setFieldName(java.lang.String fieldName)
If not already created, a new field-name element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
CmpFieldType<T> setDescription(java.lang.String description)
description element
CmpFieldTypeCmpFieldType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
CmpFieldTypeCmpFieldType<T> removeAllDescription()
description element
CmpFieldTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionCmpFieldType<T> setFieldName(java.lang.String fieldName)
field-name element with the given value will be created.
Otherwise, the existing field-name element will be updated with the given value.
CmpFieldTypeCmpFieldType<T> removeFieldName()
field-name element
CmpFieldTypejava.lang.String getFieldName()
field-name element
field-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||