org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class LicenseImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.LicenseImpl<T>
All Implemented Interfaces:
Child<T>, License<T>

public class LicenseImpl<T>
extends Object
implements Child<T>, License<T>

This class implements the license xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Constructor Summary
LicenseImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
LicenseImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 License<T> description(String description)
          Sets the description element
 String getDescription()
          Returns the description element
 String getLicenseRequired()
          Returns the license-required element
 License<T> licenseRequired(String licenseRequired)
          Sets the license-required element
 License<T> removeDescription()
          Removes the description element
 License<T> removeLicenseRequired()
          Removes the license-required element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseImpl

public LicenseImpl(T t,
                   String nodeName,
                   org.jboss.shrinkwrap.descriptor.spi.node.Node node)

LicenseImpl

public LicenseImpl(T t,
                   String nodeName,
                   org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                   org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

description

public License<T> description(String description)
Sets the description element

Specified by:
description in interface License<T>
Parameters:
description - the value for the element description
Returns:
the current instance of License

getDescription

public String getDescription()
Returns the description element

Specified by:
getDescription in interface License<T>
Returns:
the node defined for the element description

removeDescription

public License<T> removeDescription()
Removes the description element

Specified by:
removeDescription in interface License<T>
Returns:
the current instance of License

licenseRequired

public License<T> licenseRequired(String licenseRequired)
Sets the license-required element

Specified by:
licenseRequired in interface License<T>
Parameters:
licenseRequired - the value for the element license-required
Returns:
the current instance of License

getLicenseRequired

public String getLicenseRequired()
Returns the license-required element

Specified by:
getLicenseRequired in interface License<T>
Returns:
the node defined for the element license-required

removeLicenseRequired

public License<T> removeLicenseRequired()
Removes the license-required element

Specified by:
removeLicenseRequired in interface License<T>
Returns:
the current instance of License


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.