org.jboss.shrinkwrap.descriptor.api.orm21.Convert Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.orm21;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmConvertCommType;
/**
* This interface defines the contract for the convert
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Convert extends Child,
OrmConvertCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Convert ElementName: xsd:string ElementType : description
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the description
element
* @param description the value for the element description
* @return the current instance of Convert
*/
public Convert description(String description);
/**
* Returns the description
element
* @return the node defined for the element description
*/
public String getDescription();
/**
* Removes the description
element
* @return the current instance of Convert
*/
public Convert removeDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Convert ElementName: xsd:string ElementType : converter
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the converter
attribute
* @param converter the value for the attribute converter
* @return the current instance of Convert
*/
public Convert converter(String converter);
/**
* Returns the converter
attribute
* @return the value defined for the attribute converter
*/
public String getConverter();
/**
* Removes the converter
attribute
* @return the current instance of Convert
*/
public Convert removeConverter();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Convert ElementName: xsd:string ElementType : attribute-name
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the attribute-name
attribute
* @param attributeName the value for the attribute attribute-name
* @return the current instance of Convert
*/
public Convert attributeName(String attributeName);
/**
* Returns the attribute-name
attribute
* @return the value defined for the attribute attribute-name
*/
public String getAttributeName();
/**
* Removes the attribute-name
attribute
* @return the current instance of Convert
*/
public Convert removeAttributeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Convert ElementName: xsd:boolean ElementType : disable-conversion
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the disable-conversion
attribute
* @param disableConversion the value for the attribute disable-conversion
* @return the current instance of Convert
*/
public Convert disableConversion(Boolean disableConversion);
/**
* Returns the disable-conversion
attribute
* @return the value defined for the attribute disable-conversion
*/
public Boolean isDisableConversion();
/**
* Removes the disable-conversion
attribute
* @return the current instance of Convert
*/
public Convert removeDisableConversion();
}