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

org.jboss.shrinkwrap.descriptor.api.orm20.Inheritance Maven / Gradle / Ivy

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

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Inheritance ElementName: orm:inheritance-type ElementType : strategy
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the strategy attribute
    * @param strategy the value for the attribute strategy 
    * @return the current instance of Inheritance 
    */
   public Inheritance strategy(InheritanceType strategy);

   /**
    * Sets the strategy attribute
    * @param strategy the value for the attribute strategy 
    * @return the current instance of Inheritance 
    */
   public Inheritance strategy(String strategy);

   /**
    * Returns the strategy attribute
    * @return the value defined for the attribute strategy 
    */
public InheritanceType getStrategy();

   /**
    * Returns the strategy attribute
    * @return the value found for the element strategy 
    */
   public String  getStrategyAsString();

   /**
    * Removes the strategy attribute 
    * @return the current instance of Inheritance 
    */
   public Inheritance removeStrategy();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy