org.jboss.shrinkwrap.descriptor.api.orm20.PreUpdate 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.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmPreUpdateCommType;
/**
* This interface defines the contract for the pre-update
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PreUpdate extends Child,
OrmPreUpdateCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PreUpdate ElementName: xsd:string ElementType : description
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the description
element
* @param description the value for the element description
* @return the current instance of PreUpdate
*/
public PreUpdate description(String description);
/**
* Returns the description
element
* @return the node defined for the element description
*/
public String getDescription();
/**
* Removes the description
element
* @return the current instance of PreUpdate
*/
public PreUpdate removeDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: PreUpdate ElementName: xsd:string ElementType : method-name
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the method-name
attribute
* @param methodName the value for the attribute method-name
* @return the current instance of PreUpdate
*/
public PreUpdate methodName(String methodName);
/**
* Returns the method-name
attribute
* @return the value defined for the attribute method-name
*/
public String getMethodName();
/**
* Removes the method-name
attribute
* @return the current instance of PreUpdate
*/
public PreUpdate removeMethodName();
}