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

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

public class AdminObjectsTypeImpl<T>
extends Object
implements Child<T>, AdminObjectsType<T>

This class implements the admin-objectsType xsd type

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

Constructor Summary
AdminObjectsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
AdminObjectsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 AdminObjectType<AdminObjectsType<T>> createAdminObject()
          Creates a new admin-object element
 List<AdminObjectType<AdminObjectsType<T>>> getAllAdminObject()
          Returns all admin-object elements
 AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject()
          If not already created, a new admin-object element will be created and returned.
 AdminObjectsType<T> removeAllAdminObject()
          Removes all admin-object elements
 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

AdminObjectsTypeImpl

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

AdminObjectsTypeImpl

public AdminObjectsTypeImpl(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

getOrCreateAdminObject

public AdminObjectType<AdminObjectsType<T>> getOrCreateAdminObject()
If not already created, a new admin-object element will be created and returned. Otherwise, the first existing admin-object element will be returned.

Specified by:
getOrCreateAdminObject in interface AdminObjectsType<T>
Returns:
the instance defined for the element admin-object

createAdminObject

public AdminObjectType<AdminObjectsType<T>> createAdminObject()
Creates a new admin-object element

Specified by:
createAdminObject in interface AdminObjectsType<T>
Returns:
the new created instance of AdminObjectType>

getAllAdminObject

public List<AdminObjectType<AdminObjectsType<T>>> getAllAdminObject()
Returns all admin-object elements

Specified by:
getAllAdminObject in interface AdminObjectsType<T>
Returns:
list of admin-object

removeAllAdminObject

public AdminObjectsType<T> removeAllAdminObject()
Removes all admin-object elements

Specified by:
removeAllAdminObject in interface AdminObjectsType<T>
Returns:
the current instance of AdminObjectType>


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