All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.persistence10.Properties Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.persistence10; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.persistence10.Property;
import org.jboss.shrinkwrap.descriptor.api.persistence.*;
import org.jboss.shrinkwrap.descriptor.api.persistence.PersistencePropertiesCommType;

import org.jboss.shrinkwrap.descriptor.api.persistence10.Property;/**
 * This interface defines the contract for the  properties  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface Properties extends Child, 
    PersistencePropertiesCommType,
    Property>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Properties ElementName: persistence:property ElementType : property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new property element will be created and returned.
    * Otherwise, the first existing property element will be returned.
    * @return the instance defined for the element property 
    */
   public Property> getOrCreateProperty();

   /**
    * Creates a new property element 
    * @return the new created instance of Property> 
    */
   public Property> createProperty();

   /**
    * Returns all property elements
    * @return list of property 
    */
   public List>> getAllProperty();

   /**
    * Removes all property elements 
    * @return the current instance of Property> 
    */
   public Properties removeAllProperty();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy