ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.persistence10
Interface Properties<T>

All Superinterfaces:
Child<T>

public interface Properties<T>
extends Child<T>

This interface defines the contract for the properties xsd type

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

Method Summary
 Property<Properties<T>> createProperty()
          Creates a new property element
 List<Property<Properties<T>>> getAllProperty()
          Returns all property elements
 Property<Properties<T>> getOrCreateProperty()
          If not already created, a new property element will be created and returned.
 Properties<T> removeAllProperty()
          Removes all property elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateProperty

Property<Properties<T>> getOrCreateProperty()
If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.

Returns:
the instance defined for the element property

createProperty

Property<Properties<T>> createProperty()
Creates a new property element

Returns:
the new created instance of Property>

getAllProperty

List<Property<Properties<T>>> getAllProperty()
Returns all property elements

Returns:
list of property

removeAllProperty

Properties<T> removeAllProperty()
Removes all property elements

Returns:
the current instance of Property>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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