All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.orm21.Column Maven / Gradle / Ivy

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.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmColumnCommType;
/**
 * This interface defines the contract for the  column  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface Column extends Child, 
    OrmColumnCommType> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeUnique();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeNullable();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeInsertable();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeUpdatable();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeColumnDefinition();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeTable();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeLength();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removePrecision();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Column 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 Column 
    */
   public Column 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 Column 
    */
   public Column removeScale();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy