Class ActivationspecTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector16.ActivationspecTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ActivationspecType<T>
public class ActivationspecTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ActivationspecType<T>
This class implements the
activationspecType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionActivationspecTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ActivationspecTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionactivationspecClass(String activationspecClass) Sets theactivationspec-classelementCreates a newconfig-propertyelementCreates a newrequired-config-propertyelementReturns theactivationspec-classelementReturns allconfig-propertyelementsReturns allrequired-config-propertyelementsgetId()Returns theidattributeIf not already created, a newconfig-propertyelement will be created and returned.If not already created, a newrequired-config-propertyelement will be created and returned.Sets theidattributeRemoves theactivationspec-classelementRemoves allconfig-propertyelementsRemoves allrequired-config-propertyelementsremoveId()Removes theidattributeup()
-
Constructor Details
-
ActivationspecTypeImpl
-
ActivationspecTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
activationspecClass
Sets theactivationspec-classelement- Specified by:
activationspecClassin interfaceActivationspecType<T>- Parameters:
activationspecClass- the value for the elementactivationspec-class- Returns:
- the current instance of
ActivationspecType
-
getActivationspecClass
Returns theactivationspec-classelement- Specified by:
getActivationspecClassin interfaceActivationspecType<T>- Returns:
- the node defined for the element
activationspec-class
-
removeActivationspecClass
Removes theactivationspec-classelement- Specified by:
removeActivationspecClassin interfaceActivationspecType<T>- Returns:
- the current instance of
ActivationspecType
-
getOrCreateRequiredConfigProperty
If not already created, a newrequired-config-propertyelement will be created and returned. Otherwise, the first existingrequired-config-propertyelement will be returned.- Specified by:
getOrCreateRequiredConfigPropertyin interfaceActivationspecType<T>- Returns:
- the instance defined for the element
required-config-property
-
createRequiredConfigProperty
Creates a newrequired-config-propertyelement- Specified by:
createRequiredConfigPropertyin interfaceActivationspecType<T>- Returns:
- the new created instance of
RequiredConfigPropertyType<ActivationspecType>
-
getAllRequiredConfigProperty
Returns allrequired-config-propertyelements- Specified by:
getAllRequiredConfigPropertyin interfaceActivationspecType<T>- Returns:
- list of
required-config-property
-
removeAllRequiredConfigProperty
Removes allrequired-config-propertyelements- Specified by:
removeAllRequiredConfigPropertyin interfaceActivationspecType<T>- Returns:
- the current instance of
RequiredConfigPropertyType<ActivationspecType>
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceActivationspecType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceActivationspecType<T>- Returns:
- the new created instance of
ConfigPropertyType<ActivationspecType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceActivationspecType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceActivationspecType<T>- Returns:
- the current instance of
ConfigPropertyType<ActivationspecType>
-
id
Sets theidattribute- Specified by:
idin interfaceActivationspecType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ActivationspecType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceActivationspecType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceActivationspecType<T>- Returns:
- the current instance of
ActivationspecType
-