|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.test.impl.connector10.ConnectorImpl<T>
public class ConnectorImpl<T>
This class implements the connector
xsd type
Constructor Summary | |
---|---|
ConnectorImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
|
ConnectorImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
|
Method Summary | |
---|---|
Connector<T> |
description(String description)
Sets the description element |
Connector<T> |
displayName(String displayName)
Sets the display-name element |
Connector<T> |
eisType(String eisType)
Sets the eis-type element |
String |
getDescription()
Returns the description element |
String |
getDisplayName()
Returns the display-name element |
String |
getEisType()
Returns the eis-type element |
Icon<Connector<T>> |
getOrCreateIcon()
If not already created, a new icon element with the given value will be created. |
License<Connector<T>> |
getOrCreateLicense()
If not already created, a new license element with the given value will be created. |
Resourceadapter<Connector<T>> |
getOrCreateResourceadapter()
If not already created, a new resourceadapter element with the given value will be created. |
String |
getSpecVersion()
Returns the spec-version element |
String |
getVendorName()
Returns the vendor-name element |
String |
getVersion()
Returns the version element |
Connector<T> |
removeDescription()
Removes the description element |
Connector<T> |
removeDisplayName()
Removes the display-name element |
Connector<T> |
removeEisType()
Removes the eis-type element |
Connector<T> |
removeIcon()
Removes the icon element |
Connector<T> |
removeLicense()
Removes the license element |
Connector<T> |
removeResourceadapter()
Removes the resourceadapter element |
Connector<T> |
removeSpecVersion()
Removes the spec-version element |
Connector<T> |
removeVendorName()
Removes the vendor-name element |
Connector<T> |
removeVersion()
Removes the version element |
Connector<T> |
specVersion(String specVersion)
Sets the spec-version element |
T |
up()
Returns the parent of this Child |
Connector<T> |
vendorName(String vendorName)
Sets the vendor-name element |
Connector<T> |
version(String version)
Sets the version element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectorImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail |
---|
public T up()
Child
Child
up
in interface Child<T>
Child
public Connector<T> specVersion(String specVersion)
spec-version
element
specVersion
in interface Connector<T>
specVersion
- the value for the element spec-version
Connector
public String getSpecVersion()
spec-version
element
getSpecVersion
in interface Connector<T>
spec-version
public Connector<T> removeSpecVersion()
spec-version
element
removeSpecVersion
in interface Connector<T>
Connector
public Icon<Connector<T>> getOrCreateIcon()
icon
element with the given value will be created.
Otherwise, the existing icon
element will be returned.
getOrCreateIcon
in interface Connector<T>
Icon>
public Connector<T> removeIcon()
icon
element
removeIcon
in interface Connector<T>
Connector
public Connector<T> displayName(String displayName)
display-name
element
displayName
in interface Connector<T>
displayName
- the value for the element display-name
Connector
public String getDisplayName()
display-name
element
getDisplayName
in interface Connector<T>
display-name
public Connector<T> removeDisplayName()
display-name
element
removeDisplayName
in interface Connector<T>
Connector
public Connector<T> vendorName(String vendorName)
vendor-name
element
vendorName
in interface Connector<T>
vendorName
- the value for the element vendor-name
Connector
public String getVendorName()
vendor-name
element
getVendorName
in interface Connector<T>
vendor-name
public Connector<T> removeVendorName()
vendor-name
element
removeVendorName
in interface Connector<T>
Connector
public Connector<T> description(String description)
description
element
description
in interface Connector<T>
description
- the value for the element description
Connector
public String getDescription()
description
element
getDescription
in interface Connector<T>
description
public Connector<T> removeDescription()
description
element
removeDescription
in interface Connector<T>
Connector
public Connector<T> eisType(String eisType)
eis-type
element
eisType
in interface Connector<T>
eisType
- the value for the element eis-type
Connector
public String getEisType()
eis-type
element
getEisType
in interface Connector<T>
eis-type
public Connector<T> removeEisType()
eis-type
element
removeEisType
in interface Connector<T>
Connector
public License<Connector<T>> getOrCreateLicense()
license
element with the given value will be created.
Otherwise, the existing license
element will be returned.
getOrCreateLicense
in interface Connector<T>
License>
public Connector<T> removeLicense()
license
element
removeLicense
in interface Connector<T>
Connector
public Resourceadapter<Connector<T>> getOrCreateResourceadapter()
resourceadapter
element with the given value will be created.
Otherwise, the existing resourceadapter
element will be returned.
getOrCreateResourceadapter
in interface Connector<T>
Resourceadapter>
public Connector<T> removeResourceadapter()
resourceadapter
element
removeResourceadapter
in interface Connector<T>
Connector
public Connector<T> version(String version)
version
element
version
in interface Connector<T>
version
- the value for the element version
Connector
public String getVersion()
version
element
getVersion
in interface Connector<T>
version
public Connector<T> removeVersion()
version
element
removeVersion
in interface Connector<T>
Connector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |