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 theresource-refTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceRefType<T>description(String... values)Creates for all String objects representingdescriptionelements, a newdescriptionelementList<String>getAllDescription()Returns alldescriptionelementsStringgetId()Returns theidattributeResAuthTypegetResAuth()Returns theres-authelementStringgetResAuthAsString()Returns theres-authelementStringgetResRefName()Returns theres-ref-nameelementResSharingScopeTypegetResSharingScope()Returns theres-sharing-scopeelementStringgetResSharingScopeAsString()Returns theres-sharing-scopeelementStringgetResType()Returns theres-typeelementResourceRefType<T>id(String id)Sets theidattributeResourceRefType<T>removeAllDescription()Removes thedescriptionelementResourceRefType<T>removeId()Removes theidattributeResourceRefType<T>removeResAuth()Removes theres-authattributeResourceRefType<T>removeResRefName()Removes theres-ref-nameelementResourceRefType<T>removeResSharingScope()Removes theres-sharing-scopeattributeResourceRefType<T>removeResType()Removes theres-typeelementResourceRefType<T>resAuth(String resAuth)Sets theres-authelementResourceRefType<T>resAuth(ResAuthType resAuth)Sets theres-authelementResourceRefType<T>resRefName(String resRefName)Sets theres-ref-nameelementResourceRefType<T>resSharingScope(String resSharingScope)Sets theres-sharing-scopeelementResourceRefType<T>resSharingScope(ResSharingScopeType resSharingScope)Sets theres-sharing-scopeelementResourceRefType<T>resType(String resType)Sets theres-typeelement
-
-
-
Method Detail
-
description
ResourceRefType<T> description(String... values)
Creates for all String objects representingdescriptionelements, a newdescriptionelement- Parameters:
values- list ofdescriptionobjects- Returns:
- the current instance of
ResourceRefType
-
getAllDescription
List<String> getAllDescription()
Returns alldescriptionelements- Returns:
- list of
description
-
removeAllDescription
ResourceRefType<T> removeAllDescription()
Removes thedescriptionelement- Returns:
- the current instance of
ResourceRefType
-
resRefName
ResourceRefType<T> resRefName(String 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
ResourceRefType<T> resType(String 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
ResourceRefType<T> resAuth(ResAuthType resAuth)
Sets theres-authelement- Parameters:
resAuth- the value for the elementres-auth- Returns:
- the current instance of
ResourceRefType
-
resAuth
ResourceRefType<T> resAuth(String 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
ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
Sets theres-sharing-scopeelement- Parameters:
resSharingScope- the value for the elementres-sharing-scope- Returns:
- the current instance of
ResourceRefType
-
resSharingScope
ResourceRefType<T> resSharingScope(String 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
ResourceRefType<T> id(String 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
-
-