net.authorize.data.reporting
Class Solution

java.lang.Object
  extended by net.authorize.data.reporting.Solution
All Implemented Interfaces:
Serializable

public class Solution
extends Object
implements Serializable

Solution container for Solution-Type.

See Also:
Serialized Form

Constructor Summary
protected Solution()
          Default C'tor
 
Method Summary
static Solution createSolution()
          Create a solution.
static Solution createSolution(String id, String name)
          Creates a populated Solution
 String getId()
           
 String getName()
           
 void setId(String id)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Solution

protected Solution()
Default C'tor

Method Detail

createSolution

public static Solution createSolution()
Create a solution.

Returns:
Solution with empty fields

createSolution

public static Solution createSolution(String id,
                                      String name)
Creates a populated Solution

Parameters:
id - Sets the solution Id for solution
name - Sets the name number for solution
Returns:
Solution with fields populated

toString

public String toString()
Overrides:
toString in class Object

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set


Copyright © 2014. All Rights Reserved.