org.jboss.shrinkwrap.descriptor.api.orm21.NamedAttributeNode 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.orm.*;
import org.jboss.shrinkwrap.descriptor.api.orm.OrmNamedAttributeNodeCommType;
/**
* This interface defines the contract for the named-attribute-node
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface NamedAttributeNode extends Child,
OrmNamedAttributeNodeCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedAttributeNode 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 NamedAttributeNode
*/
public NamedAttributeNode 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 NamedAttributeNode
*/
public NamedAttributeNode removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedAttributeNode ElementName: xsd:string ElementType : subgraph
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the subgraph
attribute
* @param subgraph the value for the attribute subgraph
* @return the current instance of NamedAttributeNode
*/
public NamedAttributeNode subgraph(String subgraph);
/**
* Returns the subgraph
attribute
* @return the value defined for the attribute subgraph
*/
public String getSubgraph();
/**
* Removes the subgraph
attribute
* @return the current instance of NamedAttributeNode
*/
public NamedAttributeNode removeSubgraph();
// --------------------------------------------------------------------------------------------------------||
// ClassName: NamedAttributeNode ElementName: xsd:string ElementType : key-subgraph
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the key-subgraph
attribute
* @param keySubgraph the value for the attribute key-subgraph
* @return the current instance of NamedAttributeNode
*/
public NamedAttributeNode keySubgraph(String keySubgraph);
/**
* Returns the key-subgraph
attribute
* @return the value defined for the attribute key-subgraph
*/
public String getKeySubgraph();
/**
* Removes the key-subgraph
attribute
* @return the current instance of NamedAttributeNode
*/
public NamedAttributeNode removeKeySubgraph();
}