de.smartics.exceptions.test.dummy
Class DummyCode

Package class diagram package DummyCode
java.lang.Object
  extended by de.smartics.exceptions.test.dummy.DummyCode
All Implemented Interfaces:
Code, Serializable

public final class DummyCode
     
     
extends Object
implements Code

A test code provided for the exception.

Author:
Robert Reiner
See Also:
Serialized Form

Field Summary
static DummyCode CODE
          The test code to use in this test.
 
Constructor Summary
DummyCode()
           
 
Method Summary
 String getCode()
          Always returns TEST.
 String getComponentId()
          Always returns TEST.
 String getDisplayId()
          
 String toString()
          Always returns TEST-TEST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CODE

public static final DummyCode CODE
The test code to use in this test.

Constructor Detail

DummyCode

public DummyCode()
Method Detail

getCode

public String getCode()
Always returns TEST.

Specified by:
getCode in interface Code
Returns:
TEST.

getComponentId

public String getComponentId()
Always returns TEST.

Specified by:
getComponentId in interface Code
Returns:
TEST.

getDisplayId

public String getDisplayId()

Specified by:
getDisplayId in interface Code
See Also:
Code.getDisplayId()

toString

public String toString()
Always returns TEST-TEST.

Specified by:
toString in interface Code
Overrides:
toString in class Object
Returns:
TEST-TEST.


Copyright © 2007-$2011 Kronseder & Reiner GmbH - smartics. All Rights Reserved.