org.jboss.shrinkwrap.descriptor.api.orm20.DiscriminatorColumn 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.orm20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.orm20.DiscriminatorType;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmDiscriminatorColumnCommType;
/**
* This interface defines the contract for the discriminator-column
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface DiscriminatorColumn extends Child,
OrmDiscriminatorColumnCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: DiscriminatorColumn 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 DiscriminatorColumn
*/
public DiscriminatorColumn 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 DiscriminatorColumn
*/
public DiscriminatorColumn removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: DiscriminatorColumn ElementName: orm:discriminator-type ElementType : discriminator-type
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: true isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the discriminator-type
attribute
* @param discriminatorType the value for the attribute discriminator-type
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn discriminatorType(DiscriminatorType discriminatorType);
/**
* Sets the discriminator-type
attribute
* @param discriminatorType the value for the attribute discriminator-type
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn discriminatorType(String discriminatorType);
/**
* Returns the discriminator-type
attribute
* @return the value defined for the attribute discriminator-type
*/
public DiscriminatorType getDiscriminatorType();
/**
* Returns the discriminator-type
attribute
* @return the value found for the element discriminator-type
*/
public String getDiscriminatorTypeAsString();
/**
* Removes the discriminator-type
attribute
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn removeDiscriminatorType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: DiscriminatorColumn ElementName: xsd:string ElementType : column-definition
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the column-definition
attribute
* @param columnDefinition the value for the attribute column-definition
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn columnDefinition(String columnDefinition);
/**
* Returns the column-definition
attribute
* @return the value defined for the attribute column-definition
*/
public String getColumnDefinition();
/**
* Removes the column-definition
attribute
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn removeColumnDefinition();
// --------------------------------------------------------------------------------------------------------||
// ClassName: DiscriminatorColumn ElementName: xsd:int ElementType : length
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the length
attribute
* @param length the value for the attribute length
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn length(Integer length);
/**
* Returns the length
attribute
* @return the value defined for the attribute length
*/
public Integer getLength();
/**
* Removes the length
attribute
* @return the current instance of DiscriminatorColumn
*/
public DiscriminatorColumn removeLength();
}