|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.CmpFieldTypeImpl<T>
public class CmpFieldTypeImpl<T>
This class implements 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.
Constructor Summary | |
---|---|
CmpFieldTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
CmpFieldTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmpFieldTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public CmpFieldTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public CmpFieldType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface CmpFieldType<T>
CmpFieldType
public CmpFieldType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface CmpFieldType<T>
list
- of description
objects
CmpFieldType
public CmpFieldType<T> removeAllDescription()
description
element
removeAllDescription
in interface CmpFieldType<T>
CmpFieldType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface CmpFieldType<T>
description
public 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.
setFieldName
in interface CmpFieldType<T>
CmpFieldType
public CmpFieldType<T> removeFieldName()
field-name
element
removeFieldName
in interface CmpFieldType<T>
CmpFieldType
public java.lang.String getFieldName()
field-name
element
getFieldName
in interface CmpFieldType<T>
field-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |