org.apache.activemq.apollo.dto
Class DestinationDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.DestinationDTO
Direct Known Subclasses:
QueueDestinationDTO, TopicDestinationDTO

public abstract class DestinationDTO
extends java.lang.Object

Author:
Hiram Chirino

Field Summary
 java.util.List<java.lang.String> path
           
 java.lang.Long temp_owner
          If the destination is a temporary destination, then it will have temp_owner set to the owner of the connection id which owns the destination.
 
Constructor Summary
DestinationDTO()
           
DestinationDTO(java.util.List<java.lang.String> path)
           
DestinationDTO(java.lang.String[] path)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String name(java.lang.String separator)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

path

public java.util.List<java.lang.String> path

temp_owner

public java.lang.Long temp_owner
If the destination is a temporary destination, then it will have temp_owner set to the owner of the connection id which owns the destination. Only the owner will be allowed to consume from the destination.

Constructor Detail

DestinationDTO

public DestinationDTO()

DestinationDTO

public DestinationDTO(java.util.List<java.lang.String> path)

DestinationDTO

public DestinationDTO(java.lang.String[] path)
Method Detail

name

public java.lang.String name(java.lang.String separator)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.