Class RunAsTypeImpl<T>
- java.lang.Object
-
- org.jboss.shrinkwrap.descriptor.impl.j2ee14.RunAsTypeImpl<T>
-
-
Constructor Summary
Constructors Constructor Description RunAsTypeImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunAsType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeStringgetRoleName()Returns therole-nameelementRunAsType<T>id(String id)Sets theidattributeRunAsType<T>removeAllDescription()Removes thedescriptionelementRunAsType<T>removeId()Removes theidattributeRunAsType<T>removeRoleName()Removes therole-nameelementRunAsType<T>roleName(String roleName)Sets therole-nameelementTup()
-
-
-
Method Detail
-
description
public RunAsType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Specified by:
descriptionin interfaceRunAsType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
RunAsType
-
getAllDescription
public List<String> getAllDescription()
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceRunAsType<T>- Returns:
- list of
description
-
removeAllDescription
public RunAsType<T> removeAllDescription()
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceRunAsType<T>- Returns:
- the current instance of
RunAsType
-
getRoleName
public String getRoleName()
Returns therole-nameelement- Specified by:
getRoleNamein interfaceRunAsType<T>- Returns:
- the node defined for the element
role-name
-
removeRoleName
public RunAsType<T> removeRoleName()
Removes therole-nameelement- Specified by:
removeRoleNamein interfaceRunAsType<T>- Returns:
- the current instance of
RunAsType
-
getId
public String getId()
Returns theidattribute
-
-