org.jboss.shrinkwrap.descriptor.api.orm10.Embedded 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.AttributeOverride;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmEmbeddedCommType;
import org.jboss.shrinkwrap.descriptor.api.orm10.AttributeOverride;/**
* This interface defines the contract for the embedded
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface Embedded extends Child,
OrmEmbeddedCommType,
AttributeOverride>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Embedded ElementName: orm:attribute-override ElementType : attribute-override
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new attribute-override
element will be created and returned.
* Otherwise, the first existing attribute-override
element will be returned.
* @return the instance defined for the element attribute-override
*/
public AttributeOverride> getOrCreateAttributeOverride();
/**
* Creates a new attribute-override
element
* @return the new created instance of AttributeOverride>
*/
public AttributeOverride> createAttributeOverride();
/**
* Returns all attribute-override
elements
* @return list of attribute-override
*/
public List>> getAllAttributeOverride();
/**
* Removes all attribute-override
elements
* @return the current instance of AttributeOverride>
*/
public Embedded removeAllAttributeOverride();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Embedded 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 Embedded
*/
public Embedded 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 Embedded
*/
public Embedded removeName();
}