org.jboss.ironjacamar.api
Interface ExtensionType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
ExtensionTypeImpl

public interface ExtensionType<T>
extends Child<T>

This interface defines the contract for the extensionType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 ExtensionType<T> className(String className)
          Sets the class-name attribute
 String getClassName()
          Returns the class-name attribute
 ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()
          If not already created, a new config-property element with the given value will be created.
 ExtensionType<T> removeClassName()
          Removes the class-name attribute
 ExtensionType<T> removeConfigProperty()
          Removes the config-property element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateConfigProperty

ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty()
If not already created, a new config-property element with the given value will be created. Otherwise, the existing config-property element will be returned.

Returns:
a new or existing instance of ConfigPropertyType>

removeConfigProperty

ExtensionType<T> removeConfigProperty()
Removes the config-property element

Returns:
the current instance of ExtensionType

className

ExtensionType<T> className(String className)
Sets the class-name attribute

Parameters:
className - the value for the attribute class-name
Returns:
the current instance of ExtensionType

getClassName

String getClassName()
Returns the class-name attribute

Returns:
the value defined for the attribute class-name

removeClassName

ExtensionType<T> removeClassName()
Removes the class-name attribute

Returns:
the current instance of ExtensionType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.