Version: ${maven.project.version}

org.soaplab.services.metadata
Class AnalysisInstallation

java.lang.Object
  extended by org.soaplab.services.metadata.AnalysisInstallation

public class AnalysisInstallation
extends java.lang.Object

A container holding data about an analysis. Rather than holding data about the analysis itself (for that see AnalysisDef and the other classes) it contains data about the environment this analysis is used within (such as file location of the internal analysis metadata).

Version:
$Id: AnalysisInstallation.java,v 1.3 2007/11/14 15:07:40 marsenger Exp $
Author:
Martin Senger

Field Summary
static java.lang.String APP_NAME
           
static java.lang.String CATEGORY
           
static java.lang.String DEFAULT_CATEGORY
           
static java.lang.String DEFAULT_MODULE
           
static java.lang.String DESC
           
static java.lang.String MODULE
           
static java.lang.String XML_DESC
           
 
Constructor Summary
AnalysisInstallation()
          Constructors
AnalysisInstallation(java.util.Properties props)
           
AnalysisInstallation(java.lang.String category, java.lang.String appName)
           
 
Method Summary
 boolean equals(java.lang.Object anotherAnalysis)
          equals()
 java.lang.String getAppName()
           
 java.lang.String getCategory()
          Access methods
 java.lang.String getDesc()
           
 java.lang.String getFullName()
          Return a name consisting from both category and application name.
 java.lang.String getModule()
           
 java.lang.String getXMLDesc()
           
 void setDelimiter(java.lang.String categoryNameDelimiter)
          Set a delimiter that is used to separate category and the real name of stored analysis.
 void setProperties(java.util.Properties props)
          Set properties.
static java.lang.String[] splitName(java.lang.String analysisName, java.lang.String categoryNameDelimiter)
          A static utility method: Split category and application name.
 java.lang.String toString()
          toString()
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CATEGORY

public static final java.lang.String CATEGORY
See Also:
Constant Field Values

APP_NAME

public static final java.lang.String APP_NAME
See Also:
Constant Field Values

DESC

public static final java.lang.String DESC
See Also:
Constant Field Values

XML_DESC

public static final java.lang.String XML_DESC
See Also:
Constant Field Values

MODULE

public static final java.lang.String MODULE
See Also:
Constant Field Values

DEFAULT_CATEGORY

public static final java.lang.String DEFAULT_CATEGORY
See Also:
Constant Field Values

DEFAULT_MODULE

public static final java.lang.String DEFAULT_MODULE
See Also:
Constant Field Values
Constructor Detail

AnalysisInstallation

public AnalysisInstallation()
Constructors


AnalysisInstallation

public AnalysisInstallation(java.util.Properties props)

AnalysisInstallation

public AnalysisInstallation(java.lang.String category,
                            java.lang.String appName)
Method Detail

setDelimiter

public void setDelimiter(java.lang.String categoryNameDelimiter)
Set a delimiter that is used to separate category and the real name of stored analysis.


getFullName

public java.lang.String getFullName()
Return a name consisting from both category and application name.


splitName

public static java.lang.String[] splitName(java.lang.String analysisName,
                                           java.lang.String categoryNameDelimiter)
A static utility method: Split category and application name. If there is no divider in the given name, the first element of the returned two-elemens array will be an empty string.


setProperties

public void setProperties(java.util.Properties props)
Set properties. The known properties are taken from 'props' and stored.


getCategory

public java.lang.String getCategory()
Access methods


getAppName

public java.lang.String getAppName()

getDesc

public java.lang.String getDesc()

getXMLDesc

public java.lang.String getXMLDesc()

getModule

public java.lang.String getModule()

equals

public boolean equals(java.lang.Object anotherAnalysis)
equals()

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
toString()

Overrides:
toString in class java.lang.Object

Version: ${maven.project.version}

Submit a bug or feature
Generated: Tue Jun 14 15:18:14 AST 2011