org.jboss.shrinkwrap.descriptor.api.javaee5.PropertyType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.javaee5;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
* This interface defines the contract for the propertyType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PropertyType extends Child,
JavaeePropertyCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PropertyType ElementName: xsd:string ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
element
* @param name the value for the element name
* @return the current instance of PropertyType
*/
public PropertyType name(String name);
/**
* Returns the name
element
* @return the node defined for the element name
*/
public String getName();
/**
* Removes the name
element
* @return the current instance of PropertyType
*/
public PropertyType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: PropertyType ElementName: xsd:string ElementType : value
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the value
element
* @param value the value for the element value
* @return the current instance of PropertyType
*/
public PropertyType value(String value);
/**
* Returns the value
element
* @return the node defined for the element value
*/
public String getValue();
/**
* Removes the value
element
* @return the current instance of PropertyType
*/
public PropertyType removeValue();
// --------------------------------------------------------------------------------------------------------||
// ClassName: PropertyType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of PropertyType
*/
public PropertyType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of PropertyType
*/
public PropertyType removeId();
}