com.softwareag.mdm.base.repository
Class ModuleAlias

java.lang.Object
  extended bycom.softwareag.mdm.base.repository.ModuleAlias

public class ModuleAlias
extends Object

A module alias identifies a module among the declared dependent modules of a current module.

The 'alias-module' association is defined in /WEB-INF/mdm/module.xml.


Field Summary
static ModuleAlias CurrentOrganization
          This field is "org" alias: "org" usually identifies a common organization module.
static ModuleAlias CurrentWebApp
          This field is the reserved "wbp" alias: it identifies the current module itself.
static ModuleAlias CurrentWebProcess
          Deprecated.  
static ModuleAlias Root
          This field is "root" alias: by convention, "root" identifies root module, usually "mdm-root", that contains common schemas .
 
Method Summary
 boolean equals(Object x)
           
 String getStringName()
           
 int hashCode()
           
static boolean isCorrect(String moduleName)
          Returns true if and only if this name is correct regarding syntax constraints ("^[a-zA-Z_][a-zA-Z0-9_]*$").
static ModuleAlias parse(String inputString)
           
static String toJavaCompatibleString(String inputString)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CurrentWebApp

public static final ModuleAlias CurrentWebApp
This field is the reserved "wbp" alias: it identifies the current module itself.


CurrentOrganization

public static final ModuleAlias CurrentOrganization
This field is "org" alias: "org" usually identifies a common organization module.


Root

public static final ModuleAlias Root
This field is "root" alias: by convention, "root" identifies root module, usually "mdm-root", that contains common schemas .


CurrentWebProcess

public static final ModuleAlias CurrentWebProcess
Deprecated.  

Replaced by field CurrentWebApp.

Method Detail

equals

public boolean equals(Object x)

getStringName

public String getStringName()

hashCode

public int hashCode()

isCorrect

public static boolean isCorrect(String moduleName)
Returns true if and only if this name is correct regarding syntax constraints ("^[a-zA-Z_][a-zA-Z0-9_]*$").


parse

public static ModuleAlias parse(String inputString)

toJavaCompatibleString

public static String toJavaCompatibleString(String inputString)

toString

public String toString()


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.