|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.graph.DefaultGraphLink
Field Summary | |
private static String |
CLASSNAME
|
private String |
description
|
static String |
DESCRIPTION
Label for the attribute. |
static String |
LISTENER_LIST
Label for the attribute. |
private EventListenerList |
listenerList
|
private Boolean |
loop
|
static String |
LOOP
|
private GraphNode |
predecessor
|
static String |
PREDECESSOR
Label for the attribute. |
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private GraphNode |
successor
|
static String |
SUCCESSOR
Label for the attribute. |
private static String |
versionID
|
Constructor Summary | |
DefaultGraphLink()
|
|
DefaultGraphLink(GraphNode pPredecessor,
GraphNode pSuccessor)
|
|
DefaultGraphLink(GraphNode pPredecessor,
GraphNode pSuccessor,
String pDescription)
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
private void |
descriptionValidate(String a_Description)
|
private void |
fireGraphLinkChanged(String propertyName,
Object oldValue,
Object newValue)
|
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
GraphNode |
getPredecessor()
Gets the object for the association that plays role: PREDECESSOR. |
GraphNode |
getSuccessor()
Gets the object for the association that plays role: SUCCESSOR. |
Boolean |
isLoop()
Gets the value of the attribute: LOOP. |
private void |
predecessorValidate(GraphNode a_Predecessor)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private void |
readOldVersion(ObjectInput input,
long readSerialVersionUID)
Reads the non-transient fields of this class from an external source, which is not the current version. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setLoop(Boolean loop)
Sets the value of the attribute: LOOP. |
void |
setPredecessor(GraphNode a_Predecessor)
Sets the object for the association that plays role: PREDECESSOR. |
void |
setSuccessor(GraphNode a_Successor)
Sets the object for the association that plays role: SUCCESSOR. |
private void |
successorValidate(GraphNode a_Successor)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String CLASSNAME
private static final String versionID
static final long serialVersionUID
public static final String DESCRIPTION
private String description
public static final String PREDECESSOR
private GraphNode predecessor
public static final String SUCCESSOR
private GraphNode successor
public static final String LISTENER_LIST
private EventListenerList listenerList
private static final String RESOURCE
public static final String LOOP
private Boolean loop
Constructor Detail |
public DefaultGraphLink(GraphNode pPredecessor, GraphNode pSuccessor) throws WTPropertyVetoException
pPredecessor
- pSuccessor
-
WTPropertyVetoException
public DefaultGraphLink(GraphNode pPredecessor, GraphNode pSuccessor, String pDescription) throws WTPropertyVetoException
pPredecessor
- pSuccessor
- pDescription
-
WTPropertyVetoException
public DefaultGraphLink()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
private void readOldVersion(ObjectInput input, long readSerialVersionUID) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
-
IOException
ClassNotFoundException
public String getDescription()
getDescription
in interface GraphLink
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public GraphNode getPredecessor()
getPredecessor
in interface GraphLink
public void setPredecessor(GraphNode a_Predecessor) throws WTPropertyVetoException
a_Predecessor
-
WTPropertyVetoException
private void predecessorValidate(GraphNode a_Predecessor) throws WTPropertyVetoException
a_Predecessor
-
WTPropertyVetoException
public GraphNode getSuccessor()
getSuccessor
in interface GraphLink
public void setSuccessor(GraphNode a_Successor) throws WTPropertyVetoException
a_Successor
-
WTPropertyVetoException
private void successorValidate(GraphNode a_Successor) throws WTPropertyVetoException
a_Successor
-
WTPropertyVetoException
private void fireGraphLinkChanged(String propertyName, Object oldValue, Object newValue)
propertyName
- oldValue
- newValue
- public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface GraphLink
listener
- public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface GraphLink
listener
- public Boolean isLoop()
isLoop
in interface GraphLink
public void setLoop(Boolean loop)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |