Class CapacityTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.ironjacamar11.impl.CapacityTypeImpl<T>
All Implemented Interfaces:
CapacityType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class CapacityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, CapacityType<T>
This class implements the capacityType xsd type
  • Constructor Details

    • CapacityTypeImpl

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

      public CapacityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • getOrCreateIncrementer

      public ExtensionType<CapacityType<T>> getOrCreateIncrementer()
      If not already created, a new incrementer element with the given value will be created. Otherwise, the existing incrementer element will be returned.
      Specified by:
      getOrCreateIncrementer in interface CapacityType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'CapacityType>
    • removeIncrementer

      public CapacityType<T> removeIncrementer()
      Removes the incrementer element
      Specified by:
      removeIncrementer in interface CapacityType<T>
      Returns:
      the current instance of CapacityType
    • getOrCreateDecrementer

      public ExtensionType<CapacityType<T>> getOrCreateDecrementer()
      If not already created, a new decrementer element with the given value will be created. Otherwise, the existing decrementer element will be returned.
      Specified by:
      getOrCreateDecrementer in interface CapacityType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'CapacityType>
    • removeDecrementer

      public CapacityType<T> removeDecrementer()
      Removes the decrementer element
      Specified by:
      removeDecrementer in interface CapacityType<T>
      Returns:
      the current instance of CapacityType