org.eclipse.jst.j2ee.common
Interface MessageDestinationRef

All Superinterfaces:
J2EEEObject

public interface MessageDestinationRef
extends J2EEEObject

A representation of the model object 'Message Destination Ref'.

Version:
J2EE1.4 The message-destination-ref element contains a declaration of Deployment Component's reference to a message destination associated with a resource in Deployment Component's environment. It consists of: - an optional description - the message destination reference name - the message destination type - a specification as to whether the destination is used for consuming or producing messages, or both - a link to the message destination Examples: jms/StockQueue javax.jms.Queue Consumes CorporateStocks

The following features are supported:

See Also:
CommonPackage.getMessageDestinationRef()

Method Summary
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 java.lang.String getLink()
          Returns the value of the 'Link' attribute
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 java.lang.String getType()
          Returns the value of the 'Type' attribute
 MessageDestinationUsageType getUsage()
          Returns the value of the 'Usage' attribute.
 void setLink(java.lang.String value)
          Sets the value of the 'Link' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute
 void setUsage(MessageDestinationUsageType value)
          Sets the value of the 'Usage' attribute
 

Method Detail

getName

public java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), CommonPackage.getMessageDestinationRef_Name()

setName

public void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getType

public java.lang.String getType()
Returns the value of the 'Type' attribute.

If the meaning of the 'Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), CommonPackage.getMessageDestinationRef_Type()

setType

public void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

getUsage

public MessageDestinationUsageType getUsage()
Returns the value of the 'Usage' attribute. The literals are from the enumeration MessageDestinationUsageType.

If the meaning of the 'Usage' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Usage' attribute.
See Also:
MessageDestinationUsageType, setUsage(MessageDestinationUsageType), CommonPackage.getMessageDestinationRef_Usage()

setUsage

public void setUsage(MessageDestinationUsageType value)
Sets the value of the 'Usage' attribute.

Parameters:
value - the new value of the 'Usage' attribute.
See Also:
MessageDestinationUsageType, getUsage()

getLink

public java.lang.String getLink()
Returns the value of the 'Link' attribute.

If the meaning of the 'Link' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Link' attribute.
See Also:
setLink(String), CommonPackage.getMessageDestinationRef_Link()

setLink

public void setLink(java.lang.String value)
Sets the value of the 'Link' attribute.

Parameters:
value - the new value of the 'Link' attribute.
See Also:
getLink()

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
CommonPackage.getMessageDestinationRef_Descriptions()