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

org.jboss.shrinkwrap.descriptor.api.jobXML10.Listener Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Properties;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslListenerCommType;

import org.jboss.shrinkwrap.descriptor.api.jobXML10.Properties;/**
 * This interface defines the contract for the  Listener  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface Listener extends Child, 
    JslListenerCommType,
    Properties>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Listener ElementName: jsl:Properties ElementType : properties
   // MaxOccurs: -1  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new properties element with the given value will be created.
    * Otherwise, the existing properties element will be returned.
    * @return  a new or existing instance of Properties> 
    */
   public Properties> getOrCreateProperties();

   /**
    * Removes the properties element 
    * @return the current instance of Listener 
    */
   public Listener removeProperties();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: Listener ElementName: xsd:string ElementType : ref
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ref attribute
    * @param ref the value for the attribute ref 
    * @return the current instance of Listener 
    */
   public Listener ref(String ref);

   /**
    * Returns the ref attribute
    * @return the value defined for the attribute ref 
    */
   public String getRef();

   /**
    * Removes the ref attribute 
    * @return the current instance of Listener 
    */
   public Listener removeRef();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy