org.jboss.shrinkwrap.descriptor.api.javaee5
Interface PropertyType<T>

All Superinterfaces:
Child<T>

public interface PropertyType<T>
extends Child<T>

This interface defines the contract for the propertyType xsd type

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

Method Summary
 String getId()
          Returns the id attribute
 String getName()
          Returns the name element
 String getValue()
          Returns the value element
 PropertyType<T> id(String id)
          Sets the id attribute
 PropertyType<T> name(String name)
          Sets the name element
 PropertyType<T> removeId()
          Removes the id attribute
 PropertyType<T> removeName()
          Removes the name element
 PropertyType<T> removeValue()
          Removes the value element
 PropertyType<T> value(String value)
          Sets the value element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

PropertyType<T> name(String name)
Sets the name element

Parameters:
name - the value for the element name
Returns:
the current instance of PropertyType

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

PropertyType<T> removeName()
Removes the name element

Returns:
the current instance of PropertyType

value

PropertyType<T> value(String value)
Sets the value element

Parameters:
value - the value for the element value
Returns:
the current instance of PropertyType

getValue

String getValue()
Returns the value element

Returns:
the node defined for the element value

removeValue

PropertyType<T> removeValue()
Removes the value element

Returns:
the current instance of PropertyType

id

PropertyType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of PropertyType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

PropertyType<T> removeId()
Removes the id attribute

Returns:
the current instance of PropertyType


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