org.gcube.common.core.state
Class GCUBEPublicationProfile

java.lang.Object
  extended by org.gcube.common.core.state.GCUBEPublicationProfile

public class GCUBEPublicationProfile
extends Object

A publication profile for WS-Resources partly instantiated from the JNDI configuration of the port-type.

Author:
Fabio Simeoni (University of Strathclyde)
See Also:
GCUBEPortTypeContext.getProfile()

Constructor Summary
GCUBEPublicationProfile()
           
 
Method Summary
 String getAbsoluteFileName()
          Gets the absolute file name.
 String getAbsolutePath()
          Gets the absolute path.
 String getFileName()
          Returns the name of the publication configuration file.
 String getMode()
          Returns the mode of publication.
 void setAbsolutePath(String path)
          Sets the absolute path.
 void setFileName(String fileName)
          Sets the name of the publication configuration file.
 void setMode(String mode)
          Sets the mode of publication.
 void setProfile(String profile)
          Sets the publication profile.
 String toString()
          Returns the publication profile.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GCUBEPublicationProfile

public GCUBEPublicationProfile()
Method Detail

getFileName

public String getFileName()
Returns the name of the publication configuration file.

Returns:
the name.

setFileName

public void setFileName(String fileName)
Sets the name of the publication configuration file.

Parameters:
fileName - the file name.

getMode

public String getMode()
Returns the mode of publication.

Returns:
the mode.

setMode

public void setMode(String mode)
Sets the mode of publication.

Parameters:
mode - the mode,

toString

public String toString()
Returns the publication profile.

Overrides:
toString in class Object
Returns:
the profile

setProfile

public void setProfile(String profile)
Sets the publication profile.

Parameters:
profile - the profile.

getAbsoluteFileName

public String getAbsoluteFileName()
Gets the absolute file name.

Returns:
the absolute file name.

setAbsolutePath

public void setAbsolutePath(String path)
Sets the absolute path.

Parameters:
path - the path.

getAbsolutePath

public String getAbsolutePath()
Gets the absolute path.

Returns:
path the path.


Copyright © 2012. All Rights Reserved.