All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.swisslife.ibgm.mc2.Target

java.lang.Object
   |
   +----ch.swisslife.ibgm.mc2.Target

public class Target
extends Object
implements Cloneable
Data structure for one target It has several fields for the entries and a setValue and a getValue method to access it.


Constructor Index

 o Target(String)
Constructor with targetname.

Method Index

 o copy(Target)
Makes a Copy of itself.
 o getValue(String)
Gets the values.
 o main(String[])
Main Method: Only used for testing.
 o setValue(String, String)
Set the values of the entries.

Constructors

 o Target
 public Target(String target)
Constructor with targetname. Inistatiates a new target and puts its name into it.

Parameters:
target - String with the name of the target

Methods

 o copy
 public Target copy(Target t) throws CloneNotSupportedException
Makes a Copy of itself.

Returns:
Target with a copy of itself and all its structures.
 o getValue
 public String getValue(String arg)
Gets the values. The Entry which will be returned must be specified.

Parameters:
arg - String is the entry which will be given back.
Returns:
String is the value of the entry
 o setValue
 public boolean setValue(String arg,
                         String value)
Set the values of the entries. The entry must be specified.

Parameters:
arg - String containig which entry
value - String to be stored in the entry
Returns:
true if successful false otherwise
 o main
 public static void main(String argv[])
Main Method: Only used for testing. Creates an Instance of itself and fills in some values. Note: Shouldn't be used in final version.

Parameters:
argv - String[] containing the obligate argument vector'

All Packages  Class Hierarchy  This Package  Previous  Next  Index