ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm20
Interface PrePersist<T>

All Superinterfaces:
Child<T>

public interface PrePersist<T>
extends Child<T>

This interface defines the contract for the pre-persist xsd type

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

Method Summary
 PrePersist<T> description(String description)
          Sets the description element
 String getDescription()
          Returns the description element
 String getMethodName()
          Returns the method-name attribute
 PrePersist<T> methodName(String methodName)
          Sets the method-name attribute
 PrePersist<T> removeDescription()
          Removes the description element
 PrePersist<T> removeMethodName()
          Removes the method-name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

PrePersist<T> description(String description)
Sets the description element

Parameters:
description - the value for the element description
Returns:
the current instance of PrePersist

getDescription

String getDescription()
Returns the description element

Returns:
the node defined for the element description

removeDescription

PrePersist<T> removeDescription()
Removes the description element

Returns:
the current instance of PrePersist

methodName

PrePersist<T> methodName(String methodName)
Sets the method-name attribute

Parameters:
methodName - the value for the attribute method-name
Returns:
the current instance of PrePersist

getMethodName

String getMethodName()
Returns the method-name attribute

Returns:
the value defined for the attribute method-name

removeMethodName

PrePersist<T> removeMethodName()
Removes the method-name attribute

Returns:
the current instance of PrePersist

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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