ch.oscg.jreleaseinfo
Class JReleaseInfoProperty

java.lang.Object
  extended bych.oscg.jreleaseinfo.JReleaseInfoProperty

public class JReleaseInfoProperty
extends java.lang.Object

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:

Version:
$Revision: 1.2 $ ($Date: 2005/08/06 14:12:35 $ / $Author: tcotting $)
Author:
Thomas Cotting, Tangarena Engineering AG, Luzern

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

TYPE_OBJ_STRING

public static final java.lang.String TYPE_OBJ_STRING
String Type.

See Also:
Constant Field Values

TYPE_OBJ_BOOLEAN

public static final java.lang.String TYPE_OBJ_BOOLEAN
Boolean Type.

See Also:
Constant Field Values

TYPE_OBJ_INTEGER

public static final java.lang.String TYPE_OBJ_INTEGER
Integer Type.

See Also:
Constant Field Values

TYPE_PRI_BOOLEAN

public static final java.lang.String TYPE_PRI_BOOLEAN
boolean primitive Type.

See Also:
Constant Field Values

TYPE_PRI_INT

public static final java.lang.String TYPE_PRI_INT
int primitive Type.

See Also:
Constant Field Values

TYPE_OBJ_DATE

public static final java.lang.String TYPE_OBJ_DATE
Date Type.

See Also:
Constant Field Values
Constructor Detail

JReleaseInfoProperty

public JReleaseInfoProperty()
Constructor.


JReleaseInfoProperty

public JReleaseInfoProperty(java.lang.String name,
                            java.lang.String type,
                            java.lang.String value)
Constructor.

Parameters:
name - name of the property
type - name of the type
value - value of the property
Method Detail

getName

public java.lang.String getName()
Get name of Property (name, type, value).

Returns:
name String of Property

setName

public void setName(java.lang.String name)
Set name of Property (name, type, value).

Parameters:
name - String

getType

public java.lang.String getType()
Get type of Property (name, type, value).

Returns:
type String of Property

setType

public void setType(java.lang.String type)
Set type of Property (name, type, value).

Parameters:
type - String of Property

getValue

public java.lang.String getValue()
Get value of Property (name, type, value).

Returns:
String value

setValue

public void setValue(java.lang.String value)
Set value of Property (name, type, value).

Parameters:
value - String of Property


Copyright © 2005 Open Source Competence Group (OSCG). All Rights Reserved.