public class AbstractGroup extends TransferableObject implements Group
COMMENT, GID, GROUP_NAME, groupsDocType
Constructor and Description |
---|
AbstractGroup(int gid,
java.lang.String groupName,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
AbstractGroup |
copy()
Returns a deep clone of this object
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getComment() |
int |
getGID() |
java.lang.String |
getGroupName()
Returns the unique group name.
|
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
int |
hashCode() |
void |
setComment(java.lang.String comment) |
void |
setGID(int gid) |
void |
setGroupName(java.lang.String name) |
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 comment)
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public java.lang.String getGroupName()
Group
getGroupName
in interface Group
public void setGroupName(java.lang.String name)
setGroupName
in interface Group
public java.lang.String getComment()
getComment
in interface Group
public void setComment(java.lang.String comment)
setComment
in interface Group
public AbstractGroup copy()
DeepCloneable
copy
in interface DeepCloneable
copy
in interface Group
copy
in class TransferableObject
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
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 © 2013 EsprIT-Systems. All Rights Reserved.