org.jboss.shrinkwrap.descriptor.api.orm21.ConstructorResult Maven / Gradle / Ivy
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.orm21.ColumnResult;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmConstructorResultCommType;
import org.jboss.shrinkwrap.descriptor.api.orm21.ColumnResult;/**
* This interface defines the contract for the constructor-result
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface ConstructorResult extends Child,
OrmConstructorResultCommType,
ColumnResult>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ConstructorResult ElementName: orm:column-result ElementType : column
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new column
element will be created and returned.
* Otherwise, the first existing column
element will be returned.
* @return the instance defined for the element column
*/
public ColumnResult> getOrCreateColumn();
/**
* Creates a new column
element
* @return the new created instance of ColumnResult>
*/
public ColumnResult> createColumn();
/**
* Returns all column
elements
* @return list of column
*/
public List>> getAllColumn();
/**
* Removes all column
elements
* @return the current instance of ColumnResult>
*/
public ConstructorResult removeAllColumn();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ConstructorResult ElementName: xsd:string ElementType : target-class
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the target-class
attribute
* @param targetClass the value for the attribute target-class
* @return the current instance of ConstructorResult
*/
public ConstructorResult targetClass(String targetClass);
/**
* Returns the target-class
attribute
* @return the value defined for the attribute target-class
*/
public String getTargetClass();
/**
* Removes the target-class
attribute
* @return the current instance of ConstructorResult
*/
public ConstructorResult removeTargetClass();
}