|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CmrFieldType<T>
This interface defines the contract for the cmr-fieldType xsd type
Original Documentation:
The cmr-fieldType describes the bean provider's view of
a relationship. It consists of an optional description, and
the name and the class type of a field in the source of a
role of a relationship. The cmr-field-name element
corresponds to the name used for the get and set accessor
methods for the relationship. The cmr-field-type element is
used only for collection-valued cmr-fields. It specifies the
type of the collection that is used.
| Method Summary | |
|---|---|
java.lang.String |
getCmrFieldName()
Returns the cmr-field-name element |
CmrFieldTypeType |
getCmrFieldType()
Returns the cmr-field-type element |
java.lang.String |
getCmrFieldTypeAsString()
Returns the cmr-field-type element |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
CmrFieldType<T> |
removeAllDescription()
Removes the description element |
CmrFieldType<T> |
removeCmrFieldName()
Removes the cmr-field-name element |
CmrFieldType<T> |
setCmrFieldName(java.lang.String cmrFieldName)
If not already created, a new cmr-field-name element with the given value will be created. |
CmrFieldType<T> |
setCmrFieldType(CmrFieldTypeType cmrFieldType)
If not already created, a new cmr-field-type element with the given value will be created. |
CmrFieldType<T> |
setCmrFieldType(java.lang.String cmrFieldType)
If not already created, a new cmr-field-type element with the given value will be created. |
CmrFieldType<T> |
setDescription(java.lang.String description)
Creates a new description element |
CmrFieldType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
CmrFieldType<T> setDescription(java.lang.String description)
description element
CmrFieldTypeCmrFieldType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
CmrFieldTypeCmrFieldType<T> removeAllDescription()
description element
CmrFieldTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionCmrFieldType<T> setCmrFieldName(java.lang.String cmrFieldName)
cmr-field-name element with the given value will be created.
Otherwise, the existing cmr-field-name element will be updated with the given value.
CmrFieldTypeCmrFieldType<T> removeCmrFieldName()
cmr-field-name element
CmrFieldTypejava.lang.String getCmrFieldName()
cmr-field-name element
cmr-field-nameCmrFieldType<T> setCmrFieldType(CmrFieldTypeType cmrFieldType)
cmr-field-type element with the given value will be created.
Otherwise, the existing cmr-field-type element will be updated with the given value.
CmrFieldTypeCmrFieldType<T> setCmrFieldType(java.lang.String cmrFieldType)
cmr-field-type element with the given value will be created.
Otherwise, the existing cmr-field-type element will be updated with the given value.
CmrFieldTypeCmrFieldTypeType getCmrFieldType()
cmr-field-type element
cmr-field-typejava.lang.String getCmrFieldTypeAsString()
cmr-field-type element
cmr-field-type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||