org.jboss.shrinkwrap.descriptor.api.orm21.CascadeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
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.OrmCascadeCommonType;
/**
* This interface defines the contract for the cascade-type
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface CascadeType extends Child,
OrmCascadeCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-all
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-all
element
* @return the current instance of CascadeType
*/
public CascadeType cascadeAll();
/**
* Removes the cascade-all
element
* @return the current instance of CascadeType
*/
public Boolean isCascadeAll();
/**
* Removes the cascade-all
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadeAll();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-persist
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-persist
element
* @return the current instance of CascadeType
*/
public CascadeType cascadePersist();
/**
* Removes the cascade-persist
element
* @return the current instance of CascadeType
*/
public Boolean isCascadePersist();
/**
* Removes the cascade-persist
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadePersist();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-merge
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-merge
element
* @return the current instance of CascadeType
*/
public CascadeType cascadeMerge();
/**
* Removes the cascade-merge
element
* @return the current instance of CascadeType
*/
public Boolean isCascadeMerge();
/**
* Removes the cascade-merge
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadeMerge();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-remove
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-remove
element
* @return the current instance of CascadeType
*/
public CascadeType cascadeRemove();
/**
* Removes the cascade-remove
element
* @return the current instance of CascadeType
*/
public Boolean isCascadeRemove();
/**
* Removes the cascade-remove
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadeRemove();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-refresh
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-refresh
element
* @return the current instance of CascadeType
*/
public CascadeType cascadeRefresh();
/**
* Removes the cascade-refresh
element
* @return the current instance of CascadeType
*/
public Boolean isCascadeRefresh();
/**
* Removes the cascade-refresh
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadeRefresh();
// --------------------------------------------------------------------------------------------------------||
// ClassName: CascadeType ElementName: javaee:emptyType ElementType : cascade-detach
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the cascade-detach
element
* @return the current instance of CascadeType
*/
public CascadeType cascadeDetach();
/**
* Removes the cascade-detach
element
* @return the current instance of CascadeType
*/
public Boolean isCascadeDetach();
/**
* Removes the cascade-detach
element
* @return the current instance of CascadeType
*/
public CascadeType removeCascadeDetach();
}