SynSoft Java Standard Library

synsoft.org


org.synsoft.base
Class InParameter

java.lang.Object
  |
  +--org.synsoft.base.InParameter

public class InParameter
extends java.lang.Object

This class represents an in-parameter, in the form of a constant proxy to a reference for an object.


Field Summary
protected  java.lang.Object m_object
          The actual reference to the object.
static Version scm_version
          Constant instance of version information for class.
 
Constructor Summary
protected InParameter()
          Constructs an empty object reference.
  InParameter(java.lang.Object object)
          Constructs the object reference on the given object
 
Method Summary
 java.lang.Object getReference()
          Gets the object reference
 int hashCode()
          Returns a hash code value for the object This function actually returns the hashCode() result of the referent
 java.lang.String toString()
          Returns a string representation of the object This function actually returns the toString() result of the referent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_object

protected java.lang.Object m_object
The actual reference to the object.

scm_version

public static final Version scm_version
Constant instance of version information for class.
Constructor Detail

InParameter

protected InParameter()
Constructs an empty object reference. Not publicly accessible, as an empty InParameter makes no sense

InParameter

public InParameter(java.lang.Object object)
Constructs the object reference on the given object
Parameters:
object - The object on which to hold a reference
Method Detail

getReference

public final java.lang.Object getReference()
Gets the object reference
Returns:
The referenced object

toString

public final java.lang.String toString()
Returns a string representation of the object This function actually returns the toString() result of the referent
Overrides:
toString in class java.lang.Object

hashCode

public final int hashCode()
Returns a hash code value for the object This function actually returns the hashCode() result of the referent
Overrides:
hashCode in class java.lang.Object

version 2.0.1.231

Copyright © Synesis Software. Licensed according to the Synesis Software Standard Public License