Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.p13n.property
Class AbstractPropertyMapKey

    java.lang.Object
      com.bea.p13n.property.AbstractPropertyMapKey

All Implemented Interfaces:
  PropertyMapKey, Serializable

public abstract class AbstractPropertyMapKey
extends Object
implements PropertyMapKey, Serializable

Lightweight object used as a key for entity properties.

See Also:
  `EntityPropertyCache`, Serialized Form

Constructor Summary
`AbstractPropertyMapKey()` Default constructor
`AbstractPropertyMapKey(String aPropertySetName, String aPropertyName)` Initializing Constructor

Method Summary
`int` | `compareTo(Object o)` Standard compareTo operator
`boolean` | `equals(Object o)` Equals operator
`String` | `getPropertyName()` Get the name of the property
`String` | `getPropertySetName()` Get the PropertySet this property belongs to
`int` | `hashCode()` Calculate a hashCode based on all fields, for lookups in a HashMap
`void` | `setPropertyName(String aPropertyName)` Set the name of the property
`void` | `setPropertySetName(String aPropertySetName)` Set the PropertySet this property belongs to
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AbstractPropertyMapKey

    public AbstractPropertyMapKey()

  Default constructor

### AbstractPropertyMapKey

    public AbstractPropertyMapKey(String aPropertySetName,
                                  String aPropertyName)

  Initializing Constructor

Method Detail

### compareTo

    public int compareTo(Object o)

  Standard compareTo operator

### equals

    public boolean equals(Object o)

  Equals operator

  Parameters:
    `o` - the object to compare
  Returns:
    true if it is the same kind of object, and all fields match

### getPropertyName

    public String getPropertyName()

  Get the name of the property

  Specified by:
    `getPropertyName` in interface `PropertyMapKey`

### getPropertySetName

    public String getPropertySetName()

  Get the PropertySet this property belongs to

  Specified by:
    `getPropertySetName` in interface `PropertyMapKey`

### hashCode

    public int hashCode()

  Calculate a hashCode based on all fields, for lookups in a HashMap

### setPropertyName

    public void setPropertyName(String aPropertyName)

  Set the name of the property

### setPropertySetName

    public void setPropertySetName(String aPropertySetName)

  Set the PropertySet this property belongs to

### toString

    public String toString()

  Returns:
    a String representation of this map key

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved