net.wotonomy.control
Class EOIntegralKeyGlobalID

java.lang.Object
  extended by net.wotonomy.control.EOGlobalID
      extended by net.wotonomy.control.EOKeyGlobalID
          extended by net.wotonomy.control.EOIntegralKeyGlobalID
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, net.wotonomy.foundation.NSCoding

public class EOIntegralKeyGlobalID
extends EOKeyGlobalID

Version:
$Revision: 893 $
Author:
ezamudio@nasoft.com, $Author: cgruber $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.wotonomy.foundation.NSCoding
net.wotonomy.foundation.NSCoding._BigDecimalSupport, net.wotonomy.foundation.NSCoding._BigIntegerSupport, net.wotonomy.foundation.NSCoding._BooleanSupport, net.wotonomy.foundation.NSCoding._ByteSupport, net.wotonomy.foundation.NSCoding._CharacterSupport, net.wotonomy.foundation.NSCoding._DateSupport, net.wotonomy.foundation.NSCoding._DoubleSupport, net.wotonomy.foundation.NSCoding._FloatSupport, net.wotonomy.foundation.NSCoding._IntegerSupport, net.wotonomy.foundation.NSCoding._LongSupport, net.wotonomy.foundation.NSCoding._NumberSupport, net.wotonomy.foundation.NSCoding._ShortSupport, net.wotonomy.foundation.NSCoding._StringSupport, net.wotonomy.foundation.NSCoding.Support
 
Field Summary
protected  java.lang.Number keyValue
           
 
Fields inherited from class net.wotonomy.control.EOKeyGlobalID
_entityName, _hash
 
Fields inherited from class net.wotonomy.control.EOGlobalID
GlobalIDChangedNotification
 
Constructor Summary
EOIntegralKeyGlobalID(java.lang.String entityName, java.lang.Number value)
           
 
Method Summary
 java.lang.Object[] _keyValuesNoCopy()
           
 boolean isTemporary()
          Returns whether this id is a temporary id.
 int keyCount()
           
 java.lang.Object[] keyValues()
           
 
Methods inherited from class net.wotonomy.control.EOKeyGlobalID
_adjustForInheritance, _defaultGlobalIDWithEntityName, _guessedEntityName, _isFinal, _literalEntityName, _prepClone, _setGuessedEntityName, _setSubEntityName, _subEntityName, classForCoder, decodeObject, encodeWithCoder, entityName, globalIDWithEntityName, hashCode, keyValuesArray, readResolve
 
Methods inherited from class net.wotonomy.control.EOGlobalID
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyValue

protected java.lang.Number keyValue
Constructor Detail

EOIntegralKeyGlobalID

public EOIntegralKeyGlobalID(java.lang.String entityName,
                             java.lang.Number value)
Method Detail

keyValues

public java.lang.Object[] keyValues()
Specified by:
keyValues in class EOKeyGlobalID

_keyValuesNoCopy

public java.lang.Object[] _keyValuesNoCopy()
Specified by:
_keyValuesNoCopy in class EOKeyGlobalID

keyCount

public int keyCount()
Specified by:
keyCount in class EOKeyGlobalID

isTemporary

public boolean isTemporary()
Description copied from class: EOGlobalID
Returns whether this id is a temporary id. Temporary ids are generated for newly created objects that have not been persisted. When persisted, the temporary id is discarded in favor of the one generated by the object store.

Specified by:
isTemporary in class EOGlobalID


Copyright © 2006 null. All Rights Reserved.