public class ActivationspecTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ActivationspecType<T>
activationspecType
xsd typeConstructor and Description |
---|
ActivationspecTypeImpl(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) |
Modifier and Type | Method and Description |
---|---|
ActivationspecType<T> |
activationspecClass(String activationspecClass)
Sets the
activationspec-class element |
ConfigPropertyType<ActivationspecType<T>> |
createConfigProperty()
Creates a new
config-property element |
RequiredConfigPropertyType<ActivationspecType<T>> |
createRequiredConfigProperty()
Creates a new
required-config-property element |
String |
getActivationspecClass()
Returns the
activationspec-class element |
List<ConfigPropertyType<ActivationspecType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
List<RequiredConfigPropertyType<ActivationspecType<T>>> |
getAllRequiredConfigProperty()
Returns all
required-config-property elements |
String |
getId()
Returns the
id attribute |
ConfigPropertyType<ActivationspecType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
RequiredConfigPropertyType<ActivationspecType<T>> |
getOrCreateRequiredConfigProperty()
If not already created, a new
required-config-property element will be created and returned. |
ActivationspecType<T> |
id(String id)
Sets the
id attribute |
ActivationspecType<T> |
removeActivationspecClass()
Removes the
activationspec-class element |
ActivationspecType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ActivationspecType<T> |
removeAllRequiredConfigProperty()
Removes all
required-config-property elements |
ActivationspecType<T> |
removeId()
Removes the
id attribute |
T |
up() |
public ActivationspecTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ActivationspecType<T> activationspecClass(String activationspecClass)
activationspec-class
elementactivationspecClass
in interface ActivationspecType<T>
activationspecClass
- the value for the element activationspec-class
ActivationspecType
public String getActivationspecClass()
activationspec-class
elementgetActivationspecClass
in interface ActivationspecType<T>
activationspec-class
public ActivationspecType<T> removeActivationspecClass()
activationspec-class
elementremoveActivationspecClass
in interface ActivationspecType<T>
ActivationspecType
public RequiredConfigPropertyType<ActivationspecType<T>> getOrCreateRequiredConfigProperty()
required-config-property
element will be created and returned.
Otherwise, the first existing required-config-property
element will be returned.getOrCreateRequiredConfigProperty
in interface ActivationspecType<T>
required-config-property
public RequiredConfigPropertyType<ActivationspecType<T>> createRequiredConfigProperty()
required-config-property
elementcreateRequiredConfigProperty
in interface ActivationspecType<T>
RequiredConfigPropertyType>
public List<RequiredConfigPropertyType<ActivationspecType<T>>> getAllRequiredConfigProperty()
required-config-property
elementsgetAllRequiredConfigProperty
in interface ActivationspecType<T>
required-config-property
public ActivationspecType<T> removeAllRequiredConfigProperty()
required-config-property
elementsremoveAllRequiredConfigProperty
in interface ActivationspecType<T>
RequiredConfigPropertyType>
public ConfigPropertyType<ActivationspecType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.getOrCreateConfigProperty
in interface ActivationspecType<T>
config-property
public ConfigPropertyType<ActivationspecType<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface ActivationspecType<T>
ConfigPropertyType>
public List<ConfigPropertyType<ActivationspecType<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface ActivationspecType<T>
config-property
public ActivationspecType<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface ActivationspecType<T>
ConfigPropertyType>
public ActivationspecType<T> id(String id)
id
attributeid
in interface ActivationspecType<T>
id
- the value for the attribute id
ActivationspecType
public String getId()
id
attributegetId
in interface ActivationspecType<T>
id
public ActivationspecType<T> removeId()
id
attributeremoveId
in interface ActivationspecType<T>
ActivationspecType
Copyright © 2021 JBoss by Red Hat. All rights reserved.