ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface CmrFieldType<T>

All Superinterfaces:
Child<T>

public interface CmrFieldType<T>
extends Child<T>

This interface defines the contract for the cmr-fieldType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 CmrFieldType<T> cmrFieldName(String cmrFieldName)
          Sets the cmr-field-name element
 CmrFieldType<T> cmrFieldType(CmrFieldTypeType cmrFieldType)
          Sets the cmr-field-type element
 CmrFieldType<T> cmrFieldType(String cmrFieldType)
          Sets the cmr-field-type element
 CmrFieldType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getCmrFieldName()
          Returns the cmr-field-name element
 CmrFieldTypeType getCmrFieldType()
          Returns the cmr-field-type element
 String getCmrFieldTypeAsString()
          Returns the cmr-field-type element
 CmrFieldType<T> removeAllDescription()
          Removes the description element
 CmrFieldType<T> removeCmrFieldName()
          Removes the cmr-field-name element
 CmrFieldType<T> removeCmrFieldType()
          Removes the cmr-field-type attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

CmrFieldType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of CmrFieldType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

CmrFieldType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of CmrFieldType

cmrFieldName

CmrFieldType<T> cmrFieldName(String cmrFieldName)
Sets the cmr-field-name element

Parameters:
cmrFieldName - the value for the element cmr-field-name
Returns:
the current instance of CmrFieldType

getCmrFieldName

String getCmrFieldName()
Returns the cmr-field-name element

Returns:
the node defined for the element cmr-field-name

removeCmrFieldName

CmrFieldType<T> removeCmrFieldName()
Removes the cmr-field-name element

Returns:
the current instance of CmrFieldType

cmrFieldType

CmrFieldType<T> cmrFieldType(CmrFieldTypeType cmrFieldType)
Sets the cmr-field-type element

Parameters:
cmrFieldType - the value for the element cmr-field-type
Returns:
the current instance of CmrFieldType

cmrFieldType

CmrFieldType<T> cmrFieldType(String cmrFieldType)
Sets the cmr-field-type element

Parameters:
cmrFieldType - the value for the element cmr-field-type
Returns:
the current instance of CmrFieldType

getCmrFieldType

CmrFieldTypeType getCmrFieldType()
Returns the cmr-field-type element

Returns:
the value found for the element cmr-field-type

getCmrFieldTypeAsString

String getCmrFieldTypeAsString()
Returns the cmr-field-type element

Returns:
the value found for the element cmr-field-type

removeCmrFieldType

CmrFieldType<T> removeCmrFieldType()
Removes the cmr-field-type attribute

Returns:
the current instance of CmrFieldType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.