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

All Superinterfaces:
Child<T>

public interface MessagePropertiesType<T>
extends Child<T>

This interface defines the contract for the message-propertiesType xsd type

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

Method Summary
 MessagePropertiesType<T> clazz(String clazz)
          Sets the class element
 MessagePropertiesType<T> delivery(String delivery)
          Sets the delivery element
 String getClazz()
          Returns the class element
 String getDelivery()
          Returns the delivery element
 String getId()
          Returns the id attribute
 MethodType<MessagePropertiesType<T>> getOrCreateMethod()
          If not already created, a new method element with the given value will be created.
 Integer getPriority()
          Returns the priority element
 MessagePropertiesType<T> id(String id)
          Sets the id attribute
 MessagePropertiesType<T> priority(Integer priority)
          Sets the priority element
 MessagePropertiesType<T> removeClazz()
          Removes the class element
 MessagePropertiesType<T> removeDelivery()
          Removes the delivery element
 MessagePropertiesType<T> removeId()
          Removes the id attribute
 MessagePropertiesType<T> removeMethod()
          Removes the method element
 MessagePropertiesType<T> removePriority()
          Removes the priority element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

clazz

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

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

getClazz

String getClazz()
Returns the class element

Returns:
the node defined for the element class

removeClazz

MessagePropertiesType<T> removeClazz()
Removes the class element

Returns:
the current instance of MessagePropertiesType

getOrCreateMethod

MethodType<MessagePropertiesType<T>> getOrCreateMethod()
If not already created, a new method element with the given value will be created. Otherwise, the existing method element will be returned.

Returns:
a new or existing instance of MethodType>

removeMethod

MessagePropertiesType<T> removeMethod()
Removes the method element

Returns:
the current instance of MessagePropertiesType

delivery

MessagePropertiesType<T> delivery(String delivery)
Sets the delivery element

Parameters:
delivery - the value for the element delivery
Returns:
the current instance of MessagePropertiesType

getDelivery

String getDelivery()
Returns the delivery element

Returns:
the node defined for the element delivery

removeDelivery

MessagePropertiesType<T> removeDelivery()
Removes the delivery element

Returns:
the current instance of MessagePropertiesType

priority

MessagePropertiesType<T> priority(Integer priority)
Sets the priority element

Parameters:
priority - the value for the element priority
Returns:
the current instance of MessagePropertiesType

getPriority

Integer getPriority()
Returns the priority element

Returns:
the node defined for the element priority

removePriority

MessagePropertiesType<T> removePriority()
Removes the priority element

Returns:
the current instance of MessagePropertiesType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MessagePropertiesType<T> removeId()
Removes the id attribute

Returns:
the current instance of MessagePropertiesType


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