public class RelationshipMessage extends Message implements IRelationshipMessage
Message
,
TreePathMessage
,
TimelineObjectPathMessage
Constructor and Description |
---|
RelationshipMessage(MessageTypeId id,
String text,
Date time,
IRelationship relationship)
Constructs a new message.
|
RelationshipMessage(MessageTypeId id,
String text,
IRelationship relationship)
Constructs a new message.
|
RelationshipMessage(MessageTypeId id,
String text,
Object details,
Date time,
IRelationship relationship)
Constructs a new message.
|
RelationshipMessage(MessageTypeId id,
String text,
Object details,
IRelationship relationship)
Constructs a new message.
|
RelationshipMessage(String text,
IRelationship relationship)
Constructs a new information> message.
|
RelationshipMessage(String text,
Object details,
IRelationship relationship)
Constructs a new error message.
|
Modifier and Type | Method and Description |
---|---|
IRelationship |
getRelationship()
The relationship for which the message was generated.
|
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId
public RelationshipMessage(MessageTypeId id, String text, Object details, Date time, IRelationship relationship)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagetime
- a message time stamprelationship
- a relationship objectMessage
,
TreePathMessage
public RelationshipMessage(MessageTypeId id, String text, Date time, IRelationship relationship)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the usertime
- a message time stamprelationship
- a relationship objectMessage
,
TreePathMessage
public RelationshipMessage(MessageTypeId id, String text, Object details, IRelationship relationship)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagerelationship
- a relationship objectMessage
,
TreePathMessage
public RelationshipMessage(MessageTypeId id, String text, IRelationship relationship)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userrelationship
- a relationship objectMessage
,
TreePathMessage
public RelationshipMessage(String text, Object details, IRelationship relationship)
text
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagerelationship
- a relationship objectMessage
,
TreePathMessage
public RelationshipMessage(String text, IRelationship relationship)
text
- the message that will be shown to the userrelationship
- a relationship objectMessage
,
TreePathMessage
public IRelationship getRelationship()
IRelationshipMessage
getRelationship
in interface IRelationshipMessage
Copyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.