Class ResourceRefTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.ResourceRefTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,ResourceRefType<T>
public class ResourceRefTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceRefType<T>
This class implements the
resource-refType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionResourceRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ResourceRefTypeImpl(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 theres-authelementReturns theres-authelementReturns theres-ref-nameelementReturns theres-sharing-scopeelementReturns theres-sharing-scopeelementReturns theres-typeelementSets theidattributeRemoves thedescriptionelementremoveId()Removes theidattributeRemoves theres-authattributeRemoves theres-ref-nameelementRemoves theres-sharing-scopeattributeRemoves theres-typeelementSets theres-authelementresAuth(ResAuthType resAuth) Sets theres-authelementresRefName(String resRefName) Sets theres-ref-nameelementresSharingScope(String resSharingScope) Sets theres-sharing-scopeelementresSharingScope(ResSharingScopeType resSharingScope) Sets theres-sharing-scopeelementSets theres-typeelementup()
-
Constructor Details
-
ResourceRefTypeImpl
-
ResourceRefTypeImpl
-
-
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 interfaceResourceRefType<T>- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceRefType
-
getAllDescription
Returns alldescriptionelements- Specified by:
getAllDescriptionin interfaceResourceRefType<T>- Returns:
- list of
description
-
removeAllDescription
Removes thedescriptionelement- Specified by:
removeAllDescriptionin interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-
resRefName
Sets theres-ref-nameelement- Specified by:
resRefNamein interfaceResourceRefType<T>- Parameters:
resRefName- the value for the elementres-ref-name- Returns:
- the current instance of
ResourceRefType
-
getResRefName
Returns theres-ref-nameelement- Specified by:
getResRefNamein interfaceResourceRefType<T>- Returns:
- the node defined for the element
res-ref-name
-
removeResRefName
Removes theres-ref-nameelement- Specified by:
removeResRefNamein interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-
resType
Sets theres-typeelement- Specified by:
resTypein interfaceResourceRefType<T>- Parameters:
resType- the value for the elementres-type- Returns:
- the current instance of
ResourceRefType
-
getResType
Returns theres-typeelement- Specified by:
getResTypein interfaceResourceRefType<T>- Returns:
- the node defined for the element
res-type
-
removeResType
Removes theres-typeelement- Specified by:
removeResTypein interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-
resAuth
Sets theres-authelement- Specified by:
resAuthin interfaceResourceRefType<T>- Parameters:
resAuth- the value for the elementres-auth- Returns:
- the current instance of
ResourceRefType
-
resAuth
Sets theres-authelement- Specified by:
resAuthin interfaceResourceRefType<T>- Parameters:
resAuth- the value for the elementres-auth- Returns:
- the current instance of
ResourceRefType
-
getResAuth
Returns theres-authelement- Specified by:
getResAuthin interfaceResourceRefType<T>- Returns:
- the value found for the element
res-auth
-
getResAuthAsString
Returns theres-authelement- Specified by:
getResAuthAsStringin interfaceResourceRefType<T>- Returns:
- the value found for the element
res-auth
-
removeResAuth
Removes theres-authattribute- Specified by:
removeResAuthin interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-
resSharingScope
Sets theres-sharing-scopeelement- Specified by:
resSharingScopein interfaceResourceRefType<T>- Parameters:
resSharingScope- the value for the elementres-sharing-scope- Returns:
- the current instance of
ResourceRefType
-
resSharingScope
Sets theres-sharing-scopeelement- Specified by:
resSharingScopein interfaceResourceRefType<T>- Parameters:
resSharingScope- the value for the elementres-sharing-scope- Returns:
- the current instance of
ResourceRefType
-
getResSharingScope
Returns theres-sharing-scopeelement- Specified by:
getResSharingScopein interfaceResourceRefType<T>- Returns:
- the value found for the element
res-sharing-scope
-
getResSharingScopeAsString
Returns theres-sharing-scopeelement- Specified by:
getResSharingScopeAsStringin interfaceResourceRefType<T>- Returns:
- the value found for the element
res-sharing-scope
-
removeResSharingScope
Removes theres-sharing-scopeattribute- Specified by:
removeResSharingScopein interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-
id
Sets theidattribute- Specified by:
idin interfaceResourceRefType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceRefType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceResourceRefType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceResourceRefType<T>- Returns:
- the current instance of
ResourceRefType
-