org.jboss.shrinkwrap.descriptor.api.ejbjar30.CmrFieldType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar30.CmrFieldTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeCmrFieldCommonType;
/**
* This interface defines the contract for the cmr-fieldType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface CmrFieldType extends Child,
JavaeeCmrFieldCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: CmrFieldType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of CmrFieldType
*/
public CmrFieldType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of CmrFieldType
*/
public CmrFieldType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CmrFieldType ElementName: xsd:token ElementType : cmr-field-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cmr-field-name
element
* @param cmrFieldName the value for the element cmr-field-name
* @return the current instance of CmrFieldType
*/
public CmrFieldType cmrFieldName(String cmrFieldName);
/**
* Returns the cmr-field-name
element
* @return the node defined for the element cmr-field-name
*/
public String getCmrFieldName();
/**
* Removes the cmr-field-name
element
* @return the current instance of CmrFieldType
*/
public CmrFieldType removeCmrFieldName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CmrFieldType ElementName: javaee:cmr-field-typeType ElementType : cmr-field-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cmr-field-type
element
* @param cmrFieldType the value for the element cmr-field-type
* @return the current instance of CmrFieldType
*/
public CmrFieldType cmrFieldType(CmrFieldTypeType cmrFieldType);
/**
* Sets the cmr-field-type
element
* @param cmrFieldType the value for the element cmr-field-type
* @return the current instance of CmrFieldType
*/
public CmrFieldType cmrFieldType(String cmrFieldType);
/**
* Returns the cmr-field-type
element
* @return the value found for the element cmr-field-type
*/
public CmrFieldTypeType getCmrFieldType();
/**
* Returns the cmr-field-type
element
* @return the value found for the element cmr-field-type
*/
public String getCmrFieldTypeAsString();
/**
* Removes the cmr-field-type
attribute
* @return the current instance of CmrFieldType
*/
public CmrFieldType removeCmrFieldType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CmrFieldType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of CmrFieldType
*/
public CmrFieldType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of CmrFieldType
*/
public CmrFieldType removeId();
}