public abstract class AbstractGroup extends TransferableObject implements Group
Group
objectcommentKey, displayNameKey, gidKey, groupNameKey, groupsDocType
Constructor and Description |
---|
AbstractGroup(int gid,
java.lang.String groupName,
java.lang.String displayName,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
AbstractGroup |
deepClone()
Returns a deep clone of this object
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComment() |
java.lang.String |
getDisplayName()
Returns the display-name of the group
This may be a more speaking name as the groupName.
|
int |
getGID() |
java.lang.String |
getGroupName()
Returns the unique group name.
|
java.lang.String |
getPersistentName()
Returns the String value to be stored in the database or file.
|
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
int |
hashCode() |
void |
setComment(java.lang.String comment) |
void |
setDisplayName(java.lang.String displayName) |
void |
setGID(int gid) |
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
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
toDumpString, toString
public AbstractGroup(int gid, java.lang.String groupName, java.lang.String displayName, java.lang.String comment)
public java.lang.String getDisplayName()
Group
getDisplayName
in interface Group
public final java.lang.String getPersistentName()
PersistentName
getPersistentName
in interface PersistentName
public final java.lang.String getGroupName()
Group
getGroupName
in interface Group
public final void setDisplayName(java.lang.String displayName)
setDisplayName
in interface Group
public final java.lang.String getComment()
getComment
in interface Group
public final void setComment(java.lang.String comment)
setComment
in interface Group
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public final int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public AbstractGroup deepClone()
DeepCloneable
deepClone
in interface DeepCloneable
deepClone
in interface Group
deepClone
in class TransferableObject
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.