public class ResourceRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ResourceRefType<T>
resource-refType
xsd typeConstructor and Description |
---|
ResourceRefTypeImpl(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) |
Modifier and Type | Method and Description |
---|---|
ResourceRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
String |
getId()
Returns the
id attribute |
ResAuthType |
getResAuth()
Returns the
res-auth element |
String |
getResAuthAsString()
Returns the
res-auth element |
String |
getResRefName()
Returns the
res-ref-name element |
ResSharingScopeType |
getResSharingScope()
Returns the
res-sharing-scope element |
String |
getResSharingScopeAsString()
Returns the
res-sharing-scope element |
String |
getResType()
Returns the
res-type element |
ResourceRefType<T> |
id(String id)
Sets the
id attribute |
ResourceRefType<T> |
removeAllDescription()
Removes the
description element |
ResourceRefType<T> |
removeId()
Removes the
id attribute |
ResourceRefType<T> |
removeResAuth()
Removes the
res-auth attribute |
ResourceRefType<T> |
removeResRefName()
Removes the
res-ref-name element |
ResourceRefType<T> |
removeResSharingScope()
Removes the
res-sharing-scope attribute |
ResourceRefType<T> |
removeResType()
Removes the
res-type element |
ResourceRefType<T> |
resAuth(ResAuthType resAuth)
Sets the
res-auth element |
ResourceRefType<T> |
resAuth(String resAuth)
Sets the
res-auth element |
ResourceRefType<T> |
resRefName(String resRefName)
Sets the
res-ref-name element |
ResourceRefType<T> |
resSharingScope(ResSharingScopeType resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resSharingScope(String resSharingScope)
Sets the
res-sharing-scope element |
ResourceRefType<T> |
resType(String resType)
Sets the
res-type element |
T |
up() |
public ResourceRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ResourceRefType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface ResourceRefType<T>
values
- list of description
objectsResourceRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface ResourceRefType<T>
description
public ResourceRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> resRefName(String resRefName)
res-ref-name
elementresRefName
in interface ResourceRefType<T>
resRefName
- the value for the element res-ref-name
ResourceRefType
public String getResRefName()
res-ref-name
elementgetResRefName
in interface ResourceRefType<T>
res-ref-name
public ResourceRefType<T> removeResRefName()
res-ref-name
elementremoveResRefName
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> resType(String resType)
res-type
elementresType
in interface ResourceRefType<T>
resType
- the value for the element res-type
ResourceRefType
public String getResType()
res-type
elementgetResType
in interface ResourceRefType<T>
res-type
public ResourceRefType<T> removeResType()
res-type
elementremoveResType
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> resAuth(ResAuthType resAuth)
res-auth
elementresAuth
in interface ResourceRefType<T>
resAuth
- the value for the element res-auth
ResourceRefType
public ResourceRefType<T> resAuth(String resAuth)
res-auth
elementresAuth
in interface ResourceRefType<T>
resAuth
- the value for the element res-auth
ResourceRefType
public ResAuthType getResAuth()
res-auth
elementgetResAuth
in interface ResourceRefType<T>
res-auth
public String getResAuthAsString()
res-auth
elementgetResAuthAsString
in interface ResourceRefType<T>
res-auth
public ResourceRefType<T> removeResAuth()
res-auth
attributeremoveResAuth
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> resSharingScope(ResSharingScopeType resSharingScope)
res-sharing-scope
elementresSharingScope
in interface ResourceRefType<T>
resSharingScope
- the value for the element res-sharing-scope
ResourceRefType
public ResourceRefType<T> resSharingScope(String resSharingScope)
res-sharing-scope
elementresSharingScope
in interface ResourceRefType<T>
resSharingScope
- the value for the element res-sharing-scope
ResourceRefType
public ResSharingScopeType getResSharingScope()
res-sharing-scope
elementgetResSharingScope
in interface ResourceRefType<T>
res-sharing-scope
public String getResSharingScopeAsString()
res-sharing-scope
elementgetResSharingScopeAsString
in interface ResourceRefType<T>
res-sharing-scope
public ResourceRefType<T> removeResSharingScope()
res-sharing-scope
attributeremoveResSharingScope
in interface ResourceRefType<T>
ResourceRefType
public ResourceRefType<T> id(String id)
id
attributeid
in interface ResourceRefType<T>
id
- the value for the attribute id
ResourceRefType
public String getId()
id
attributegetId
in interface ResourceRefType<T>
id
public ResourceRefType<T> removeId()
id
attributeremoveId
in interface ResourceRefType<T>
ResourceRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.