Package org.jboss.jca.codegenerator
Class ConfigPropType
java.lang.Object
org.jboss.jca.codegenerator.ConfigPropType
A ConfigPropType.
- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
Constructor Summary
ConstructorsConstructorDescriptionconstructorConfigPropType(String name, String type, String value, boolean required) constructor with initial value -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the name.getType()Get the type.getValue()Get the value.booleanGet the required.voidSet the name.voidsetRequired(boolean required) Set the required.voidSet the type.voidSet the value.
-
Constructor Details
-
ConfigPropType
public ConfigPropType()constructor -
ConfigPropType
constructor with initial value- Parameters:
name- The name to set.type- The type to set.value- The value to set.required- The required to set.
-
-
Method Details
-
setName
Set the name.- Parameters:
name- The name to set.
-
getName
Get the name.- Returns:
- the name.
-
setType
Set the type.- Parameters:
type- The type to set.
-
getType
Get the type.- Returns:
- the type.
-
setValue
Set the value.- Parameters:
value- The value to set.
-
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.
-