org.jboss.shrinkwrap.descriptor.api.orm21.AttributeOverride 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.orm21;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.orm21.Column;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmAttributeOverrideCommType;
import org.jboss.shrinkwrap.descriptor.api.orm21.Column;/**
* This interface defines the contract for the attribute-override
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface AttributeOverride extends Child,
OrmAttributeOverrideCommType,
Column>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: AttributeOverride 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 AttributeOverride
*/
public AttributeOverride 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 AttributeOverride
*/
public AttributeOverride removeDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AttributeOverride ElementName: orm:column ElementType : column
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new column
element with the given value will be created.
* Otherwise, the existing column
element will be returned.
* @return a new or existing instance of Column>
*/
public Column> getOrCreateColumn();
/**
* Removes the column
element
* @return the current instance of AttributeOverride
*/
public AttributeOverride removeColumn();
// --------------------------------------------------------------------------------------------------------||
// ClassName: AttributeOverride ElementName: xsd:string ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
attribute
* @param name the value for the attribute name
* @return the current instance of AttributeOverride
*/
public AttributeOverride name(String name);
/**
* Returns the name
attribute
* @return the value defined for the attribute name
*/
public String getName();
/**
* Removes the name
attribute
* @return the current instance of AttributeOverride
*/
public AttributeOverride removeName();
}