ariba.util.core
Class DatabaseBaseId

java.lang.Object
  extended by ariba.util.core.DatabaseBaseId

public abstract class DatabaseBaseId
extends java.lang.Object

This is a stripped down BaseId, for use in tools (such as migration) below the level of ObjectServer. This is used by ariba.base.core.BaseId


Field Summary
static int OptimizedBaseIdWidth
           
 long typeCode
           
 long value
           
 
Constructor Summary
DatabaseBaseId()
          Constructs a new DatabaseBaseId.
 
Method Summary
abstract  java.lang.String getTypeCodeString()
          Converts the type code to a string.
 boolean isTemp()
          Checks if this BaseId is temporary.
abstract  java.lang.String toDBString()
          Converts the type code and value to a string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeCode

public long typeCode

value

public long value

OptimizedBaseIdWidth

public static final int OptimizedBaseIdWidth
See Also:
Constant Field Values
Constructor Detail

DatabaseBaseId

public DatabaseBaseId()
Constructs a new DatabaseBaseId.

Method Detail

isTemp

public boolean isTemp()
Checks if this BaseId is temporary. Temporary BaseIds cannot be stored in the database.

Returns:
true is the baseId is temporary, false otherwise.

toDBString

public abstract java.lang.String toDBString()
Converts the type code and value to a string.

Returns:
a String representation of the typecode and value

getTypeCodeString

public abstract java.lang.String getTypeCodeString()
Converts the type code to a string.

Returns:
a String representation of a type code.


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.