com.softwareag.tamino.db.api.accessor
Class TAccessLocation

java.lang.Object
  extended by com.softwareag.tamino.db.api.accessor.TAccessLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class TAccessLocation
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

TAccessorLocation serves as a property class for a TAccessor instance providing access location information. Any accessor needs at least the access location information, which currently consists of the Tamino collection name.

Version:
$Revision: 1.7 $
Author:
Marcus Schreyer
See Also:
Serialized Form

Constructor Summary
protected TAccessLocation(java.lang.String collection)
          Initializes the access location with the Tamino collection name.
 
Method Summary
 java.lang.Object clone()
          Returns a cloned instance.
 java.lang.String getCollection()
          Gets the Tamino collection name.
static TAccessLocation newInstance(java.lang.String collection)
          Factory method for the instantiation of a TAccessLocation instance with the given Tamino collection name.
 void setCollection(java.lang.String collection)
          Sets the Tamino collection name.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TAccessLocation

protected TAccessLocation(java.lang.String collection)
Initializes the access location with the Tamino collection name.

Parameters:
collection - the Tamino collection name.
Method Detail

newInstance

public static TAccessLocation newInstance(java.lang.String collection)
Factory method for the instantiation of a TAccessLocation instance with the given Tamino collection name.

Parameters:
collection - the Tamino collection name.
Returns:
the TAccessLocation instance.

setCollection

public void setCollection(java.lang.String collection)
Sets the Tamino collection name.

Parameters:
collection - the Tamino collection name.

getCollection

public java.lang.String getCollection()
Gets the Tamino collection name.

Returns:
the Tamino collection name.

clone

public java.lang.Object clone()
Returns a cloned instance. The clone represents a deep copy.

Overrides:
clone in class java.lang.Object
Returns:
the cloned TAccessLocation instance.


Copyright (c) 2013 Software AG. All Rights Reserved.