Package org.jboss.jca.codegenerator
Class ConfigPropType
- java.lang.Object
-
- org.jboss.jca.codegenerator.ConfigPropType
-
public class ConfigPropType extends Object
A ConfigPropType.- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
-
Constructor Summary
Constructors Constructor Description ConfigPropType()constructorConfigPropType(String name, String type, String value, boolean required)constructor with initial value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name.StringgetType()Get the type.StringgetValue()Get the value.booleanisRequired()Get the required.voidsetName(String name)Set the name.voidsetRequired(boolean required)Set the required.voidsetType(String type)Set the type.voidsetValue(String value)Set the value.
-
-
-
Method Detail
-
setName
public void setName(String name)
Set the name.- Parameters:
name- The name to set.
-
getName
public String getName()
Get the name.- Returns:
- the name.
-
setType
public void setType(String type)
Set the type.- Parameters:
type- The type to set.
-
getType
public String getType()
Get the type.- Returns:
- the type.
-
setValue
public void setValue(String value)
Set the value.- Parameters:
value- The value to set.
-
getValue
public String getValue()
Get the value.- Returns:
- the value.
-
setRequired
public void setRequired(boolean required)
Set the required.- Parameters:
required- The required to set.
-
isRequired
public boolean isRequired()
Get the required.- Returns:
- the required.
-
-