foundry-0.9.1

foundry.names
Class DefaultFullyIdentifiedObject

java.lang.Object
  |
  +--foundry.names.DefaultFullyIdentifiedObject
All Implemented Interfaces:
Described, Displayable, FullyIdentified, FullyNamed, Identified

public class DefaultFullyIdentifiedObject
extends Object
implements FullyIdentified


Field Summary
private  String description
           
private  String displayName
           
private  String fullName
           
private  long id
           
private  ArrayList throwableListeners
           
 
Constructor Summary
DefaultFullyIdentifiedObject()
           
DefaultFullyIdentifiedObject(Properties p)
           
 
Method Summary
 void addThrowableListener(ThrowableListener t)
           
 boolean equals(Object o)
           
protected  void fireThrowableEvent(Throwable t, String extras)
           
 String getDescription()
           
 String getDisplayName()
           
 String getFullName()
           
 long getID()
           
 String getIDAsString()
           
 int hashCode()
           
 void removeThrowableListener(ThrowableListener t)
           
 void setDescription(String description)
           
 void setDisplayName(String name)
           
 void setFullName(String fullName)
           
 void setID(long newID)
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

id

private long id

fullName

private String fullName

displayName

private String displayName

description

private String description

throwableListeners

private ArrayList throwableListeners
Constructor Detail

DefaultFullyIdentifiedObject

public DefaultFullyIdentifiedObject()
                             throws NameException

DefaultFullyIdentifiedObject

public DefaultFullyIdentifiedObject(Properties p)
                             throws NameException
Method Detail

getFullName

public String getFullName()
                   throws NameException
Specified by:
getFullName in interface FullyNamed

setFullName

public void setFullName(String fullName)
                 throws NameException
Specified by:
setFullName in interface FullyNamed

getDisplayName

public String getDisplayName()
                      throws NameException
Specified by:
getDisplayName in interface Displayable

setDisplayName

public void setDisplayName(String name)
                    throws NameException
Specified by:
setDisplayName in interface Displayable

getID

public long getID()
           throws NameException
Specified by:
getID in interface Identified

setID

public void setID(long newID)
           throws NameException
Specified by:
setID in interface Identified

getIDAsString

public String getIDAsString()
                     throws NameException
Specified by:
getIDAsString in interface Identified

getDescription

public String getDescription()
                      throws NameException
Specified by:
getDescription in interface Described

setDescription

public void setDescription(String description)
                    throws NameException
Specified by:
setDescription in interface Described

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

addThrowableListener

public void addThrowableListener(ThrowableListener t)

removeThrowableListener

public void removeThrowableListener(ThrowableListener t)

fireThrowableEvent

protected void fireThrowableEvent(Throwable t,
                                  String extras)

foundry-0.9.1

Copyright © 2000 - Laird Jarrett Nelson