org.jboss.shrinkwrap.descriptor.api.orm10.AttributeOverride Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.orm10;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.orm10.Column;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmAttributeOverrideCommType;
import org.jboss.shrinkwrap.descriptor.api.orm10.Column;/**
* This interface defines the contract for the attribute-override
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface AttributeOverride extends Child,
OrmAttributeOverrideCommType,
Column>> {
// --------------------------------------------------------------------------------------------------------||
// 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();
}