|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.oscg.jreleaseinfo.JReleaseInfoProperty
Property class for JReleaseInfoAntTask task.
This class holds three String values
From this data, we will create a class with fields and getter method. Therefore we need the types to be defined.
This types are implemented now:
Field Summary | |
static java.lang.String |
TYPE_OBJ_BOOLEAN
Boolean Type. |
static java.lang.String |
TYPE_OBJ_DATE
Date Type. |
static java.lang.String |
TYPE_OBJ_INTEGER
Integer Type. |
static java.lang.String |
TYPE_OBJ_STRING
String Type. |
static java.lang.String |
TYPE_PRI_BOOLEAN
boolean primitive Type. |
static java.lang.String |
TYPE_PRI_INT
int primitive Type. |
Constructor Summary | |
JReleaseInfoProperty()
Constructor. |
|
JReleaseInfoProperty(java.lang.String name,
java.lang.String type,
java.lang.String value)
Constructor. |
Method Summary | |
java.lang.String |
getName()
Get name of Property (name, type, value). |
java.lang.String |
getType()
Get type of Property (name, type, value). |
java.lang.String |
getValue()
Get value of Property (name, type, value). |
void |
setName(java.lang.String name)
Set name of Property (name, type, value). |
void |
setType(java.lang.String type)
Set type of Property (name, type, value). |
void |
setValue(java.lang.String value)
Set value of Property (name, type, value). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TYPE_OBJ_STRING
public static final java.lang.String TYPE_OBJ_BOOLEAN
public static final java.lang.String TYPE_OBJ_INTEGER
public static final java.lang.String TYPE_PRI_BOOLEAN
public static final java.lang.String TYPE_PRI_INT
public static final java.lang.String TYPE_OBJ_DATE
Constructor Detail |
public JReleaseInfoProperty()
public JReleaseInfoProperty(java.lang.String name, java.lang.String type, java.lang.String value)
name
- name of the propertytype
- name of the typevalue
- value of the propertyMethod Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- String of Propertypublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- String of Property
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |