|
||||||||||
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
CmpFieldType
CmpFieldType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
CmpFieldType
CmpFieldType<T> removeAllDescription()
description
element
CmpFieldType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
CmpFieldType<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.
CmpFieldType
CmpFieldType<T> removeFieldName()
field-name
element
CmpFieldType
java.lang.String getFieldName()
field-name
element
field-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |