public class EjbRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbRefType<T>
ejb-refType
xsd typeConstructor and Description |
---|
EjbRefTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
EjbRefTypeImpl(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 |
---|---|
EjbRefType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
EjbRefType<T> |
ejbLink(String ejbLink)
Sets the
ejb-link element |
EjbRefType<T> |
ejbRefName(String ejbRefName)
Sets the
ejb-ref-name element |
EjbRefType<T> |
ejbRefType(EjbRefTypeType ejbRefType)
Sets the
ejb-ref-type element |
EjbRefType<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 |
getHome()
Returns the
home element |
String |
getId()
Returns the
id attribute |
String |
getRemote()
Returns the
remote element |
EjbRefType<T> |
home(String home)
Sets the
home element |
EjbRefType<T> |
id(String id)
Sets the
id attribute |
EjbRefType<T> |
remote(String remote)
Sets the
remote element |
EjbRefType<T> |
removeAllDescription()
Removes the
description element |
EjbRefType<T> |
removeEjbLink()
Removes the
ejb-link element |
EjbRefType<T> |
removeEjbRefName()
Removes the
ejb-ref-name element |
EjbRefType<T> |
removeEjbRefType()
Removes the
ejb-ref-type attribute |
EjbRefType<T> |
removeHome()
Removes the
home element |
EjbRefType<T> |
removeId()
Removes the
id attribute |
EjbRefType<T> |
removeRemote()
Removes the
remote element |
T |
up() |
public EjbRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public EjbRefType<T> description(String... values)
description
elements,
a new description
elementdescription
in interface EjbRefType<T>
values
- list of description
objectsEjbRefType
public List<String> getAllDescription()
description
elementsgetAllDescription
in interface EjbRefType<T>
description
public EjbRefType<T> removeAllDescription()
description
elementremoveAllDescription
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> ejbRefName(String ejbRefName)
ejb-ref-name
elementejbRefName
in interface EjbRefType<T>
ejbRefName
- the value for the element ejb-ref-name
EjbRefType
public String getEjbRefName()
ejb-ref-name
elementgetEjbRefName
in interface EjbRefType<T>
ejb-ref-name
public EjbRefType<T> removeEjbRefName()
ejb-ref-name
elementremoveEjbRefName
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbRefType
public EjbRefType<T> ejbRefType(String ejbRefType)
ejb-ref-type
elementejbRefType
in interface EjbRefType<T>
ejbRefType
- the value for the element ejb-ref-type
EjbRefType
public EjbRefTypeType getEjbRefType()
ejb-ref-type
elementgetEjbRefType
in interface EjbRefType<T>
ejb-ref-type
public String getEjbRefTypeAsString()
ejb-ref-type
elementgetEjbRefTypeAsString
in interface EjbRefType<T>
ejb-ref-type
public EjbRefType<T> removeEjbRefType()
ejb-ref-type
attributeremoveEjbRefType
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> home(String home)
home
elementhome
in interface EjbRefType<T>
home
- the value for the element home
EjbRefType
public String getHome()
home
elementgetHome
in interface EjbRefType<T>
home
public EjbRefType<T> removeHome()
home
elementremoveHome
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> remote(String remote)
remote
elementremote
in interface EjbRefType<T>
remote
- the value for the element remote
EjbRefType
public String getRemote()
remote
elementgetRemote
in interface EjbRefType<T>
remote
public EjbRefType<T> removeRemote()
remote
elementremoveRemote
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> ejbLink(String ejbLink)
ejb-link
elementejbLink
in interface EjbRefType<T>
ejbLink
- the value for the element ejb-link
EjbRefType
public String getEjbLink()
ejb-link
elementgetEjbLink
in interface EjbRefType<T>
ejb-link
public EjbRefType<T> removeEjbLink()
ejb-link
elementremoveEjbLink
in interface EjbRefType<T>
EjbRefType
public EjbRefType<T> id(String id)
id
attributeid
in interface EjbRefType<T>
id
- the value for the attribute id
EjbRefType
public String getId()
id
attributegetId
in interface EjbRefType<T>
id
public EjbRefType<T> removeId()
id
attributeremoveId
in interface EjbRefType<T>
EjbRefType
Copyright © 2021 JBoss by Red Hat. All rights reserved.