public abstract class AbstractPrimaryKey extends TransferableObject implements PrimaryKey
PrimaryKey
implementationsConstructor and Description |
---|
AbstractPrimaryKey() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object otherObj) |
boolean |
equals(java.lang.Object otherObj) |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
java.lang.String |
getResourceName()
Returns a unique String used for locking the resource
|
ResourceType |
getResourceType()
Tells what resource type should be locked for this PK
|
java.lang.Object |
getValue()
Convenience Method for returning the first element of the primary key.
|
int |
hashCode()
Returns the hashCode of the ABO class-name.
|
boolean |
isSingleton()
Tells whether this key must only contain a type field
|
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getABOClassName, getValues, setValues
toDumpString, toString
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public java.lang.String getResourceName()
PrimaryKey
getResourceName
in interface PrimaryKey
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public boolean isSingleton()
PrimaryKey
isSingleton
in interface PrimaryKey
public ResourceType getResourceType()
PrimaryKey
getResourceType
in interface PrimaryKey
public final int compareTo(java.lang.Object otherObj)
compareTo
in interface java.lang.Comparable
public final boolean equals(java.lang.Object otherObj)
equals
in class java.lang.Object
public final java.lang.Object getValue()
PrimaryKey
getValue
in interface PrimaryKey
public final int hashCode()
hashCode
in class java.lang.Object
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.