public class ActivationspecTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ActivationspecType<T>
activationspecType xsd type| Constructor 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 |
RequiredConfigPropertyType<ActivationspecType<T>> |
createRequiredConfigProperty()
Creates a new
required-config-property element |
String |
getActivationspecClass()
Returns the
activationspec-class element |
List<RequiredConfigPropertyType<ActivationspecType<T>>> |
getAllRequiredConfigProperty()
Returns all
required-config-property elements |
String |
getId()
Returns the
id attribute |
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> |
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-classActivationspecTypepublic String getActivationspecClass()
activationspec-class elementgetActivationspecClass in interface ActivationspecType<T>activationspec-classpublic ActivationspecType<T> removeActivationspecClass()
activationspec-class elementremoveActivationspecClass in interface ActivationspecType<T>ActivationspecTypepublic 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-propertypublic 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-propertypublic ActivationspecType<T> removeAllRequiredConfigProperty()
required-config-property elementsremoveAllRequiredConfigProperty in interface ActivationspecType<T>RequiredConfigPropertyType> public ActivationspecType<T> id(String id)
id attributeid in interface ActivationspecType<T>id - the value for the attribute idActivationspecTypepublic String getId()
id attributegetId in interface ActivationspecType<T>idpublic ActivationspecType<T> removeId()
id attributeremoveId in interface ActivationspecType<T>ActivationspecTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.