Class CapacityTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters12.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 Summary
ConstructorsConstructorDescriptionCapacityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) CapacityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newdecrementerelement with the given value will be created.If not already created, a newincrementerelement with the given value will be created.Removes thedecrementerelementRemoves theincrementerelementup()
-
Constructor Details
-
CapacityTypeImpl
-
CapacityTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateIncrementer
If not already created, a newincrementerelement with the given value will be created. Otherwise, the existingincrementerelement will be returned.- Specified by:
getOrCreateIncrementerin interfaceCapacityType<T>- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'CapacityType>
-
removeIncrementer
Removes theincrementerelement- Specified by:
removeIncrementerin interfaceCapacityType<T>- Returns:
- the current instance of
CapacityType
-
getOrCreateDecrementer
If not already created, a newdecrementerelement with the given value will be created. Otherwise, the existingdecrementerelement will be returned.- Specified by:
getOrCreateDecrementerin interfaceCapacityType<T>- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'CapacityType>
-
removeDecrementer
Removes thedecrementerelement- Specified by:
removeDecrementerin interfaceCapacityType<T>- Returns:
- the current instance of
CapacityType
-