org.jboss.shrinkwrap.descriptor.api.orm20.MapKeyColumn 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.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmMapKeyColumnCommType;
/**
* This interface defines the contract for the map-key-column
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface MapKeyColumn extends Child,
OrmMapKeyColumnCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:boolean ElementType : unique
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the unique
attribute
* @param unique the value for the attribute unique
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn unique(Boolean unique);
/**
* Returns the unique
attribute
* @return the value defined for the attribute unique
*/
public Boolean isUnique();
/**
* Removes the unique
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeUnique();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:boolean ElementType : nullable
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the nullable
attribute
* @param nullable the value for the attribute nullable
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn nullable(Boolean nullable);
/**
* Returns the nullable
attribute
* @return the value defined for the attribute nullable
*/
public Boolean isNullable();
/**
* Removes the nullable
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeNullable();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:boolean ElementType : insertable
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the insertable
attribute
* @param insertable the value for the attribute insertable
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn insertable(Boolean insertable);
/**
* Returns the insertable
attribute
* @return the value defined for the attribute insertable
*/
public Boolean isInsertable();
/**
* Removes the insertable
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeInsertable();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:boolean ElementType : updatable
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the updatable
attribute
* @param updatable the value for the attribute updatable
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn updatable(Boolean updatable);
/**
* Returns the updatable
attribute
* @return the value defined for the attribute updatable
*/
public Boolean isUpdatable();
/**
* Removes the updatable
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeUpdatable();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn removeColumnDefinition();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:string ElementType : table
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the table
attribute
* @param table the value for the attribute table
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn table(String table);
/**
* Returns the table
attribute
* @return the value defined for the attribute table
*/
public String getTable();
/**
* Removes the table
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeTable();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn 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 MapKeyColumn
*/
public MapKeyColumn removeLength();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:int ElementType : precision
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the precision
attribute
* @param precision the value for the attribute precision
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn precision(Integer precision);
/**
* Returns the precision
attribute
* @return the value defined for the attribute precision
*/
public Integer getPrecision();
/**
* Removes the precision
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removePrecision();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MapKeyColumn ElementName: xsd:int ElementType : scale
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the scale
attribute
* @param scale the value for the attribute scale
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn scale(Integer scale);
/**
* Returns the scale
attribute
* @return the value defined for the attribute scale
*/
public Integer getScale();
/**
* Removes the scale
attribute
* @return the current instance of MapKeyColumn
*/
public MapKeyColumn removeScale();
}