org.jboss.shrinkwrap.descriptor.api.validationMapping11.GetterType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.validationMapping11;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.validationMapping11.GroupConversionType;
import org.jboss.shrinkwrap.descriptor.api.validationMapping11.ConstraintType;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.*;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.MapGetterCommonType;
import org.jboss.shrinkwrap.descriptor.api.validationMapping11.ConstraintType;/**
* This interface defines the contract for the getterType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface GetterType extends Child,
MapGetterCommonType,
ConstraintType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: GetterType ElementName: xsd:string ElementType : valid
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the valid
element
* @param valid the value for the element valid
* @return the current instance of GetterType
*/
public GetterType valid(String valid);
/**
* Returns the valid
element
* @return the node defined for the element valid
*/
public String getValid();
/**
* Removes the valid
element
* @return the current instance of GetterType
*/
public GetterType removeValid();
// --------------------------------------------------------------------------------------------------------||
// ClassName: GetterType ElementName: map:groupConversionType ElementType : convert-group
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new convert-group
element will be created and returned.
* Otherwise, the first existing convert-group
element will be returned.
* @return the instance defined for the element convert-group
*/
public GroupConversionType> getOrCreateConvertGroup();
/**
* Creates a new convert-group
element
* @return the new created instance of GroupConversionType>
*/
public GroupConversionType> createConvertGroup();
/**
* Returns all convert-group
elements
* @return list of convert-group
*/
public List>> getAllConvertGroup();
/**
* Removes all convert-group
elements
* @return the current instance of GroupConversionType>
*/
public GetterType removeAllConvertGroup();
// --------------------------------------------------------------------------------------------------------||
// ClassName: GetterType ElementName: map:constraintType ElementType : constraint
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new constraint
element will be created and returned.
* Otherwise, the first existing constraint
element will be returned.
* @return the instance defined for the element constraint
*/
public ConstraintType> getOrCreateConstraint();
/**
* Creates a new constraint
element
* @return the new created instance of ConstraintType>
*/
public ConstraintType> createConstraint();
/**
* Returns all constraint
elements
* @return list of constraint
*/
public List>> getAllConstraint();
/**
* Removes all constraint
elements
* @return the current instance of ConstraintType>
*/
public GetterType removeAllConstraint();
// --------------------------------------------------------------------------------------------------------||
// ClassName: GetterType 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 GetterType
*/
public GetterType 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 GetterType
*/
public GetterType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: GetterType ElementName: xsd:boolean ElementType : ignore-annotations
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ignore-annotations
attribute
* @param ignoreAnnotations the value for the attribute ignore-annotations
* @return the current instance of GetterType
*/
public GetterType ignoreAnnotations(Boolean ignoreAnnotations);
/**
* Returns the ignore-annotations
attribute
* @return the value defined for the attribute ignore-annotations
*/
public Boolean isIgnoreAnnotations();
/**
* Removes the ignore-annotations
attribute
* @return the current instance of GetterType
*/
public GetterType removeIgnoreAnnotations();
}