ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facespartialresponse20
Interface PartialResponseType<T>

All Superinterfaces:
Child<T>

public interface PartialResponseType<T>
extends Child<T>

This interface defines the contract for the partial-responseType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 PartialResponseChangesType<PartialResponseType<T>> getOrCreateChanges()
          If not already created, a new changes element with the given value will be created.
 PartialResponseErrorType<PartialResponseType<T>> getOrCreateError()
          If not already created, a new error element with the given value will be created.
 PartialResponseRedirectType<PartialResponseType<T>> getOrCreateRedirect()
          If not already created, a new redirect element with the given value will be created.
 PartialResponseType<T> removeChanges()
          Removes the changes element
 PartialResponseType<T> removeError()
          Removes the error element
 PartialResponseType<T> removeRedirect()
          Removes the redirect element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateChanges

PartialResponseChangesType<PartialResponseType<T>> getOrCreateChanges()
If not already created, a new changes element with the given value will be created. Otherwise, the existing changes element will be returned.

Returns:
a new or existing instance of PartialResponseChangesType>

removeChanges

PartialResponseType<T> removeChanges()
Removes the changes element

Returns:
the current instance of PartialResponseType

getOrCreateRedirect

PartialResponseRedirectType<PartialResponseType<T>> getOrCreateRedirect()
If not already created, a new redirect element with the given value will be created. Otherwise, the existing redirect element will be returned.

Returns:
a new or existing instance of PartialResponseRedirectType>

removeRedirect

PartialResponseType<T> removeRedirect()
Removes the redirect element

Returns:
the current instance of PartialResponseType

getOrCreateError

PartialResponseErrorType<PartialResponseType<T>> getOrCreateError()
If not already created, a new error element with the given value will be created. Otherwise, the existing error element will be returned.

Returns:
a new or existing instance of PartialResponseErrorType>

removeError

PartialResponseType<T> removeError()
Removes the error element

Returns:
the current instance of PartialResponseType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.