public class EjbLocalRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>
ejb-local-refType
xsd typeConstructor and Description |
---|
EjbLocalRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
EjbLocalRefTypeImpl(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 |
---|---|
EjbLocalRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
EjbLocalRefType<T> |
ejbLink(String ejbLink)
Sets the
ejb-link element |
EjbLocalRefType<T> |
ejbRefName(String ejbRefName)
Sets the
ejb-ref-name element |
EjbLocalRefType<T> |
ejbRefType(EjbRefTypeType ejbRefType)
Sets the
ejb-ref-type element |
EjbLocalRefType<T> |
ejbRefType(String ejbRefType)
Sets the
ejb-ref-type element |
List<String> |
getAllDescription()
Returns all
description elements |
String |
getEjbLink()
Returns the
ejb-link element |
String |
getEjbRefName()
Returns the
ejb-ref-name element |
EjbRefTypeType |
getEjbRefType()
Returns the
ejb-ref-type element |
String |
getEjbRefTypeAsString()
Returns the
ejb-ref-type element |
String |
getId()
Returns the
id attribute |
String |
getLocal()
Returns the
local element |
String |
getLocalHome()
Returns the
local-home element |
EjbLocalRefType<T> |
id(String id)
Sets the
id attribute |
EjbLocalRefType<T> |
local(String local)
Sets the
local element |
EjbLocalRefType<T> |
localHome(String localHome)
Sets the
local-home element |
EjbLocalRefType<T> |
removeAllDescription()
Removes the
description element |
EjbLocalRefType<T> |
removeEjbLink()
Removes the
ejb-link element |
EjbLocalRefType<T> |
removeEjbRefName()
Removes the
ejb-ref-name element |
EjbLocalRefType<T> |
removeEjbRefType()
Removes the
ejb-ref-type attribute |
EjbLocalRefType<T> |
removeId()
Removes the
id attribute |
EjbLocalRefType<T> |
removeLocal()
Removes the
local element |
EjbLocalRefType<T> |
removeLocalHome()
Removes the
local-home element |
T |
up() |
public EjbLocalRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public EjbLocalRefType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface EjbLocalRefType<T>
values
- list of description
objectsEjbLocalRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface EjbLocalRefType<T>
description
public EjbLocalRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name
elementejbRefName
in interface EjbLocalRefType<T>
ejbRefName
- the value for the element ejb-ref-name
EjbLocalRefType
public String getEjbRefName()
ejb-ref-name
elementgetEjbRefName
in interface EjbLocalRefType<T>
ejb-ref-name
public EjbLocalRefType<T> removeEjbRefName()
ejb-ref-name
elementremoveEjbRefName
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbLocalRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbLocalRefType
public EjbLocalRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbLocalRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbLocalRefType
public EjbRefTypeType getEjbRefType()
ejb-ref-type
elementgetEjbRefType
in interface EjbLocalRefType<T>
ejb-ref-type
public String getEjbRefTypeAsString()
ejb-ref-type
elementgetEjbRefTypeAsString
in interface EjbLocalRefType<T>
ejb-ref-type
public EjbLocalRefType<T> removeEjbRefType()
ejb-ref-type
attributeremoveEjbRefType
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> localHome(String localHome)
local-home
elementlocalHome
in interface EjbLocalRefType<T>
localHome
- the value for the element local-home
EjbLocalRefType
public String getLocalHome()
local-home
elementgetLocalHome
in interface EjbLocalRefType<T>
local-home
public EjbLocalRefType<T> removeLocalHome()
local-home
elementremoveLocalHome
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> local(String local)
local
elementlocal
in interface EjbLocalRefType<T>
local
- the value for the element local
EjbLocalRefType
public String getLocal()
local
elementgetLocal
in interface EjbLocalRefType<T>
local
public EjbLocalRefType<T> removeLocal()
local
elementremoveLocal
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> ejbLink(String ejbLink)
ejb-link
elementejbLink
in interface EjbLocalRefType<T>
ejbLink
- the value for the element ejb-link
EjbLocalRefType
public String getEjbLink()
ejb-link
elementgetEjbLink
in interface EjbLocalRefType<T>
ejb-link
public EjbLocalRefType<T> removeEjbLink()
ejb-link
elementremoveEjbLink
in interface EjbLocalRefType<T>
EjbLocalRefType
public EjbLocalRefType<T> id(String id)
id
attributeid
in interface EjbLocalRefType<T>
id
- the value for the attribute id
EjbLocalRefType
public String getId()
id
attributegetId
in interface EjbLocalRefType<T>
id
public EjbLocalRefType<T> removeId()
id
attributeremoveId
in interface EjbLocalRefType<T>
EjbLocalRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.