Interface ResourceRefType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ResourceRefTypeImpl
public interface ResourceRefType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
resource-refType xsd type-
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-typeelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
description
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceRefType
-
getAllDescription
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ResourceRefType<T> removeAllDescription()Removes thedescriptionelement- Returns:
- the current instance of
ResourceRefType
-
resRefName
Sets theres-ref-nameelement- Parameters:
resRefName- the value for the elementres-ref-name- Returns:
- the current instance of
ResourceRefType
-
getResRefName
String getResRefName()Returns theres-ref-nameelement- Returns:
- the node defined for the element
res-ref-name
-
removeResRefName
ResourceRefType<T> removeResRefName()Removes theres-ref-nameelement- Returns:
- the current instance of
ResourceRefType
-
resType
Sets theres-typeelement- Parameters:
resType- the value for the elementres-type- Returns:
- the current instance of
ResourceRefType
-
getResType
String getResType()Returns theres-typeelement- Returns:
- the node defined for the element
res-type
-
removeResType
ResourceRefType<T> removeResType()Removes theres-typeelement- Returns:
- the current instance of
ResourceRefType
-
resAuth
Sets theres-authelement- Parameters:
resAuth- the value for the elementres-auth- Returns:
- the current instance of
ResourceRefType
-
resAuth
Sets theres-authelement- Parameters:
resAuth- the value for the elementres-auth- Returns:
- the current instance of
ResourceRefType
-
getResAuth
ResAuthType getResAuth()Returns theres-authelement- Returns:
- the value found for the element
res-auth
-
getResAuthAsString
String getResAuthAsString()Returns theres-authelement- Returns:
- the value found for the element
res-auth
-
removeResAuth
ResourceRefType<T> removeResAuth()Removes theres-authattribute- Returns:
- the current instance of
ResourceRefType
-
resSharingScope
Sets theres-sharing-scopeelement- Parameters:
resSharingScope- the value for the elementres-sharing-scope- Returns:
- the current instance of
ResourceRefType
-
resSharingScope
Sets theres-sharing-scopeelement- Parameters:
resSharingScope- the value for the elementres-sharing-scope- Returns:
- the current instance of
ResourceRefType
-
getResSharingScope
ResSharingScopeType getResSharingScope()Returns theres-sharing-scopeelement- Returns:
- the value found for the element
res-sharing-scope
-
getResSharingScopeAsString
String getResSharingScopeAsString()Returns theres-sharing-scopeelement- Returns:
- the value found for the element
res-sharing-scope
-
removeResSharingScope
ResourceRefType<T> removeResSharingScope()Removes theres-sharing-scopeattribute- Returns:
- the current instance of
ResourceRefType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
ResourceRefType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
ResourceRefType<T> removeId()Removes theidattribute- Returns:
- the current instance of
ResourceRefType
-