org.jboss.shrinkwrap.descriptor.api.jboss51
Interface ProducerType<T>

All Superinterfaces:
Child<T>

public interface ProducerType<T>
extends Child<T>

This interface defines the contract for the producerType xsd type

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

Method Summary
 ProducerType<T> clazz(String clazz)
          Sets the class element
 ProducerType<T> connectionFactory(String connectionFactory)
          Sets the connection-factory element
 String getClazz()
          Returns the class element
 String getConnectionFactory()
          Returns the connection-factory element
 String getId()
          Returns the id attribute
 ProducerType<T> id(String id)
          Sets the id attribute
 ProducerType<T> removeClazz()
          Removes the class element
 ProducerType<T> removeConnectionFactory()
          Removes the connection-factory element
 ProducerType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

clazz

ProducerType<T> clazz(String clazz)
Sets the class element

Parameters:
clazz - the value for the element class
Returns:
the current instance of ProducerType

getClazz

String getClazz()
Returns the class element

Returns:
the node defined for the element class

removeClazz

ProducerType<T> removeClazz()
Removes the class element

Returns:
the current instance of ProducerType

connectionFactory

ProducerType<T> connectionFactory(String connectionFactory)
Sets the connection-factory element

Parameters:
connectionFactory - the value for the element connection-factory
Returns:
the current instance of ProducerType

getConnectionFactory

String getConnectionFactory()
Returns the connection-factory element

Returns:
the node defined for the element connection-factory

removeConnectionFactory

ProducerType<T> removeConnectionFactory()
Removes the connection-factory element

Returns:
the current instance of ProducerType

id

ProducerType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of ProducerType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

ProducerType<T> removeId()
Removes the id attribute

Returns:
the current instance of ProducerType


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