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

org.jboss.shrinkwrap.descriptor.api.orm10.SequenceGenerator Maven / Gradle / Ivy

The newest version!
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.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmSequenceGeneratorCommType;
/**
 * This interface defines the contract for the  sequence-generator  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface SequenceGenerator extends Child, 
    OrmSequenceGeneratorCommType> { 

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SequenceGenerator ElementName: xsd:string ElementType : sequence-name
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the sequence-name attribute
    * @param sequenceName the value for the attribute sequence-name 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator sequenceName(String sequenceName);

   /**
    * Returns the sequence-name attribute
    * @return the value defined for the attribute sequence-name 
    */
   public String getSequenceName();

   /**
    * Removes the sequence-name attribute 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator removeSequenceName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SequenceGenerator ElementName: xsd:int ElementType : initial-value
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the initial-value attribute
    * @param initialValue the value for the attribute initial-value 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator initialValue(Integer initialValue);

   /**
    * Returns the initial-value attribute
    * @return the value defined for the attribute initial-value 
    */
public Integer getInitialValue();

   /**
    * Removes the initial-value attribute 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator removeInitialValue();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SequenceGenerator ElementName: xsd:int ElementType : allocation-size
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the allocation-size attribute
    * @param allocationSize the value for the attribute allocation-size 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator allocationSize(Integer allocationSize);

   /**
    * Returns the allocation-size attribute
    * @return the value defined for the attribute allocation-size 
    */
public Integer getAllocationSize();

   /**
    * Removes the allocation-size attribute 
    * @return the current instance of SequenceGenerator 
    */
   public SequenceGenerator removeAllocationSize();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy