org.jboss.ironjacamar.impl
Class BeanValidationGroupsTypeImpl<T>

java.lang.Object
  extended by org.jboss.ironjacamar.impl.BeanValidationGroupsTypeImpl<T>
All Implemented Interfaces:
BeanValidationGroupsType<T>, Child<T>

public class BeanValidationGroupsTypeImpl<T>
extends Object
implements Child<T>, BeanValidationGroupsType<T>

This class implements the bean-validation-groupsType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Constructor Summary
BeanValidationGroupsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
BeanValidationGroupsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 BeanValidationGroupsType<T> beanValidationGroup(String... values)
          Creates for all String objects representing bean-validation-group elements, a new bean-validation-group element
 List<String> getAllBeanValidationGroup()
          Returns all bean-validation-group elements
 BeanValidationGroupsType<T> removeAllBeanValidationGroup()
          Removes the bean-validation-group element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanValidationGroupsTypeImpl

public BeanValidationGroupsTypeImpl(T t,
                                    String nodeName,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node node)

BeanValidationGroupsTypeImpl

public BeanValidationGroupsTypeImpl(T t,
                                    String nodeName,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                    org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

beanValidationGroup

public BeanValidationGroupsType<T> beanValidationGroup(String... values)
Creates for all String objects representing bean-validation-group elements, a new bean-validation-group element

Specified by:
beanValidationGroup in interface BeanValidationGroupsType<T>
Parameters:
values - list of bean-validation-group objects
Returns:
the current instance of BeanValidationGroupsType

getAllBeanValidationGroup

public List<String> getAllBeanValidationGroup()
Returns all bean-validation-group elements

Specified by:
getAllBeanValidationGroup in interface BeanValidationGroupsType<T>
Returns:
list of bean-validation-group

removeAllBeanValidationGroup

public BeanValidationGroupsType<T> removeAllBeanValidationGroup()
Removes the bean-validation-group element

Specified by:
removeAllBeanValidationGroup in interface BeanValidationGroupsType<T>
Returns:
the current instance of BeanValidationGroupsType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.