org.jboss.metadata.javaee.spec
Class MessageDestinationMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
              extended by org.jboss.metadata.javaee.spec.MessageDestinationMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData, MergeableMappedMetaData<MessageDestinationMetaData>, MergeableMetaData<MessageDestinationMetaData>

public class MessageDestinationMetaData
extends NamedMetaDataWithDescriptionGroup
implements MergeableMappedMetaData<MessageDestinationMetaData>

MessageDestinationMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
MessageDestinationMetaData()
          Create a new MessageDestinationMetaData.
 
Method Summary
 String getJndiName()
          Get the jndiName.
 String getMappedName()
          Get the mappedName.
 String getMessageDestinationName()
          Get the messageDestinationName.
 MessageDestinationMetaData merge(MessageDestinationMetaData original)
          Merge some metadata
 void merge(MessageDestinationMetaData override, MessageDestinationMetaData original)
          Merge the contents of override with original into this.
 void setJndiName(String jndiName)
          Set the jndiName.
 void setMappedName(String mappedName)
          Set the mappedName.
 void setMessageDestinationName(String messageDestinationName)
          Set the messageDestinationName.
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
getDescriptionGroup, merge, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Constructor Detail

MessageDestinationMetaData

public MessageDestinationMetaData()
Create a new MessageDestinationMetaData.

Method Detail

getMessageDestinationName

public String getMessageDestinationName()
Get the messageDestinationName.

Returns:
the messageDestinationName.

setMessageDestinationName

public void setMessageDestinationName(String messageDestinationName)
Set the messageDestinationName.

Parameters:
messageDestinationName - the messageDestinationName.
Throws:
IllegalArgumentException - for a null messageDestinationName

getMappedName

public String getMappedName()
Get the mappedName.

Returns:
the mappedName.

setMappedName

public void setMappedName(String mappedName)
Set the mappedName.

Parameters:
mappedName - the mappedName.
Throws:
IllegalArgumentException - for a null mappedName

getJndiName

public String getJndiName()
Get the jndiName.

Returns:
the jndiName.

setJndiName

public void setJndiName(String jndiName)
Set the jndiName.

Parameters:
jndiName - the jndiName.
Throws:
IllegalArgumentException - for a null jndiName

merge

public MessageDestinationMetaData merge(MessageDestinationMetaData original)
Description copied from interface: MergeableMetaData
Merge some metadata

Specified by:
merge in interface MergeableMetaData<MessageDestinationMetaData>
Parameters:
original - the original
Returns:
the merged metadata

merge

public void merge(MessageDestinationMetaData override,
                  MessageDestinationMetaData original)
Merge the contents of override with original into this.

Parameters:
override - data which overrides original
original - the original data


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.