org.jboss.shrinkwrap.descriptor.api.orm21.NamedSubgraph 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.orm21.NamedAttributeNode;
import org.jboss.shrinkwrap.descriptor.api.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmNamedSubgraphCommType;
import org.jboss.shrinkwrap.descriptor.api.orm21.NamedAttributeNode;/**
* This interface defines the contract for the named-subgraph
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface NamedSubgraph extends Child,
OrmNamedSubgraphCommType,
NamedAttributeNode>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedSubgraph ElementName: orm:named-attribute-node ElementType : named-attribute-node
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new named-attribute-node
element will be created and returned.
* Otherwise, the first existing named-attribute-node
element will be returned.
* @return the instance defined for the element named-attribute-node
*/
public NamedAttributeNode> getOrCreateNamedAttributeNode();
/**
* Creates a new named-attribute-node
element
* @return the new created instance of NamedAttributeNode>
*/
public NamedAttributeNode> createNamedAttributeNode();
/**
* Returns all named-attribute-node
elements
* @return list of named-attribute-node
*/
public List>> getAllNamedAttributeNode();
/**
* Removes all named-attribute-node
elements
* @return the current instance of NamedAttributeNode>
*/
public NamedSubgraph removeAllNamedAttributeNode();
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedSubgraph 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 NamedSubgraph
*/
public NamedSubgraph 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 NamedSubgraph
*/
public NamedSubgraph removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedSubgraph ElementName: xsd:string ElementType : class
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the class
attribute
* @param clazz the value for the attribute class
* @return the current instance of NamedSubgraph
*/
public NamedSubgraph clazz(String clazz);
/**
* Returns the class
attribute
* @return the value defined for the attribute class
*/
public String getClazz();
/**
* Removes the class
attribute
* @return the current instance of NamedSubgraph
*/
public NamedSubgraph removeClazzAttr();
}