|
||||||||||
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
CmrFieldType
CmrFieldType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
CmrFieldType
CmrFieldType<T> removeAllDescription()
description
element
CmrFieldType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
CmrFieldType<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.
CmrFieldType
CmrFieldType<T> removeCmrFieldName()
cmr-field-name
element
CmrFieldType
java.lang.String getCmrFieldName()
cmr-field-name
element
cmr-field-name
CmrFieldType<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.
CmrFieldType
CmrFieldType<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.
CmrFieldType
CmrFieldTypeType getCmrFieldType()
cmr-field-type
element
cmr-field-type
java.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 |