congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MessageDestination.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
org.eclipse.jst.j2ee.common.MessageDestination

Best Java code snippets using org.eclipse.jst.j2ee.common.MessageDestination.getName (Showing top 2 results out of 315)

origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This returns the label text for the adapted class. <!-- begin-user-doc --> <!-- end-user-doc
 * -->
 */
public String getText(Object object) {
  String md = CommonEditResourceHandler.getString("MessageDestination_UI_"); //$NON-NLS-1$
  String label = ((MessageDestination) object).getName();
  return label == null || label.length() == 0 ? md : md + " " + label; //$NON-NLS-1$
}
origin: org.eclipse/org.eclipse.jst.j2ee.core

/**
 * @param ref
 * @return
 */
private boolean isExistMessageDestinationLink(String link, ModuleRef moduleRef) {
  if (link == null) return false;
  int index = link.indexOf('#');
  String destinationName;
  if (index == -1) {
    destinationName = link;
  } else {
    String moduleName = link.substring(0,index);
    destinationName = link.substring(index+1);
    moduleRef = getModuleRefByName(moduleName);
    if (moduleRef == null) return false;
    
  }
  List destinations = getMessageDestinations(moduleRef);
  for (int i = 0; i < destinations.size(); i++) {
    MessageDestination messageDestination = (MessageDestination) (destinations.get(i));
    if (destinationName.equals(messageDestination.getName())) return true;
  }
  return false;
}

org.eclipse.jst.j2ee.commonMessageDestinationgetName

Javadoc

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...

The message-destination-name element specifies a name for a message destination. This name must be unique among the names of message destinations within the Deployment File.

Popular methods of MessageDestination

    Popular in Java

    • Start an intent from android
    • requestLocationUpdates (LocationManager)
    • runOnUiThread (Activity)
    • setContentView (Activity)
    • FileReader (java.io)
      A specialized Reader that reads from a file in the file system. All read requests made by calling me
    • Format (java.text)
      The base class for all formats. This is an abstract base class which specifies the protocol for clas
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • DataSource (javax.sql)
      An interface for the creation of Connection objects which represent a connection to a database. This
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • Reflections (org.reflections)
      Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
    • Top 12 Jupyter Notebook Extensions
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now