Class RunAsTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.RunAsTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,RunAsType<T>
public class RunAsTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RunAsType<T>
This class implements the
run-asType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionRunAsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) RunAsTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String... values) Creates for all String objects representingdescriptionelements, a newdescriptionelementReturns alldescriptionelementsgetId()Returns theidattributeReturns therole-nameelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves therole-nameelementSets therole-nameelementup()
-
Constructor Details
-
RunAsTypeImpl
-
RunAsTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceRunAsType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RunAsType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceRunAsType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceRunAsType<T>- Returns:
- the current instance of
RunAsType
-
roleName
Sets therole-nameelement -
getRoleName
Returns therole-nameelement- Specified by:
getRoleNamein interfaceRunAsType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceRunAsType<T>- Returns:
- the current instance of
RunAsType
-
id
Sets theidattribute -
getId
Returns theidattribute -
removeId
Removes theidattribute
-