Project Wonder 5.0

com.webobjects.eoaccess
Class ERXSingleValueID

java.lang.Object
  extended by com.webobjects.eocontrol.EOGlobalID
      extended by com.webobjects.eocontrol.EOKeyGlobalID
          extended by com.webobjects.eoaccess.ERXSingleValueID
All Implemented Interfaces:
NSCoding, Serializable, Cloneable

public class ERXSingleValueID
extends EOKeyGlobalID

Gives up the means to plug into toString() and may or may not be a bit faster.

See Also:
Serialized Form
Author:
ak
Properties
er.extensions.ERXGlobalID.optimizeer.extensions.ERXGlobalID.optimize
           

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support
 
Field Summary
static Class _CLASS
           
protected  Object _value
           
static Boolean optimize
           
 
Fields inherited from class com.webobjects.eocontrol.EOGlobalID
GlobalIDChangedNotification
 
Constructor Summary
ERXSingleValueID(String entityName, Object value)
           
 
Method Summary
 Object[] _keyValuesNoCopy()
           
 Object clone()
           
 boolean equals(Object obj)
           
static EOKeyGlobalID globalIDWithEntityName(String entityName, Object[] values)
           
 int keyCount()
           
 Object[] keyValues()
           
static EOKeyGlobalID singleGlobalIDWithEntityName(String entityName, Object primaryKey)
           
 String toString()
           
 
Methods inherited from class com.webobjects.eocontrol.EOKeyGlobalID
_adjustForInheritance, _defaultGlobalIDWithEntityName, _guessedEntityName, _isFinal, _literalEntityName, _prepClone, _setGuessedEntityName, _setSubEntityName, _subEntityName, classForCoder, decodeObject, encodeWithCoder, entityName, hashCode, keyValuesArray, readResolve
 
Methods inherited from class com.webobjects.eocontrol.EOGlobalID
isTemporary
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

optimize

public static Boolean optimize

_CLASS

public static final Class _CLASS

_value

protected Object _value
Constructor Detail

ERXSingleValueID

public ERXSingleValueID(String entityName,
                        Object value)
Method Detail

keyValues

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

_keyValuesNoCopy

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

keyCount

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

clone

public Object clone()
Overrides:
clone in class EOGlobalID

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in class EOGlobalID

singleGlobalIDWithEntityName

public static EOKeyGlobalID singleGlobalIDWithEntityName(String entityName,
                                                         Object primaryKey)

globalIDWithEntityName

public static EOKeyGlobalID globalIDWithEntityName(String entityName,
                                                   Object[] values)

Last updated: Wed, Feb 22, 2012 • 07:00 AM EST

Copyright © 2002 – 2011 Project Wonder.