FileDocCategorySizeDatePackage
MessageDestinationRef.javaAPI DocJBoss 4.2.13950Fri Jul 13 20:54:00 BST 2007org.jboss.metamodel.descriptor

MessageDestinationRef

public class MessageDestinationRef extends Ref
Represents a element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60259 $

Fields Summary
private static final Logger
log
private String
description
private String
messageDestinationRefName
private String
messageDestinationType
private String
messageDestinationUsage
private String
messageDestinationLink
private String
mappedName
private String
jndiName
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()

      return description;
   
public java.lang.StringgetJndiName()

   
     
   
      return jndiName;
   
public java.lang.StringgetMappedName()

     
      return mappedName;
   
public java.lang.StringgetMessageDestinationLink()

      return messageDestinationLink;
   
public java.lang.StringgetMessageDestinationRefName()

      return messageDestinationRefName;
   
public java.lang.StringgetMessageDestinationType()

      return messageDestinationType;
   
public java.lang.StringgetMessageDestinationUsage()

      return messageDestinationUsage;
   
public voidmerge(org.jboss.metamodel.descriptor.MessageDestinationRef ref)

      if (ref.getJndiName() != null)
      {
         this.setJndiName(ref.getJndiName());
         
         setMappedName(ref.getJndiName());
      }
   
public voidsetDescription(java.lang.String description)

      this.description = description;
   
public voidsetJndiName(java.lang.String jndiName)

      this.jndiName = jndiName;
   
public voidsetMappedName(java.lang.String mappedName)

      this.mappedName = mappedName;
   
public voidsetMessageDestinationLink(java.lang.String messageDestinationLink)

      this.messageDestinationLink = messageDestinationLink;
   
public voidsetMessageDestinationRefName(java.lang.String messageDestinationRefName)

      this.messageDestinationRefName = messageDestinationRefName;
   
public voidsetMessageDestinationType(java.lang.String messageDestinationType)

      this.messageDestinationType = messageDestinationType;
   
public voidsetMessageDestinationUsage(java.lang.String messageDestinationUsage)

      this.messageDestinationUsage = messageDestinationUsage;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("messageDestinationRefName=").append(messageDestinationRefName);
      sb.append(", messageDestinationType=").append(messageDestinationType);
      sb.append(", messageDestinationLink=").append(messageDestinationLink);
      sb.append(", messageDestinationUsage=").append(messageDestinationUsage);
      sb.append(", mappedName=").append(mappedName);
      sb.append("]");
      return sb.toString();