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

org.jboss.shrinkwrap.descriptor.api.orm10.Version 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.orm10.TemporalType;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmVersionCommType;

import org.jboss.shrinkwrap.descriptor.api.orm10.Column;/**
 * This interface defines the contract for the  version  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface Version extends Child, 
    OrmVersionCommType,
    Column>> { 

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Version ElementName: orm:temporal-type ElementType : temporal
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the temporal element
    * @param temporal the value for the element temporal 
    * @return the current instance of Version 
    */
   public Version temporal(TemporalType temporal);
   /**
    * Sets the temporal element
    * @param temporal the value for the element temporal 
    * @return the current instance of Version 
    */
   public Version temporal(String temporal);

   /**
    * Returns the temporal element
    * @return the value found for the element temporal 
    */
   public TemporalType getTemporal();

   /**
    * Returns the temporal element
    * @return the value found for the element temporal 
    */
   public String  getTemporalAsString();

   /**
    * Removes the temporal attribute 
    * @return the current instance of Version 
    */
   public Version removeTemporal();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy