Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::acs::maci::ComponentSpec Class Reference

List of all members.

Public Member Functions

 ComponentSpec (String name, String type, String code, String container)
 ComponentSpec (String componentSpec) throws IllegalArgumentException
String getContainer ()
String getCode ()
String getType ()
String getName ()
void setContainer (String container)
void setCode (String code)
void setType (String type)
void setName (String name)
String toString ()

Static Public Attributes

final String COMPSPEC_ANY = "*"

Private Member Functions

void parseComponentSpec (String componentSpec) throws IllegalArgumentException

Private Attributes

String name
String type
String code
String container

Detailed Description

Structure containing all fields necessary to describe a component and its deployment information. Used for dynamic component instatiation.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@


Constructor & Destructor Documentation

com::cosylab::acs::maci::ComponentSpec::ComponentSpec String  name,
String  type,
String  code,
String  container
[inline]
 

Creates an instance of ComponentInfo with all necesarry data. @//param curl curl of the component.

Parameters:
name name of the component.
type type of the component.
code code of the component.
container container hosting the component.

com::cosylab::acs::maci::ComponentSpec::ComponentSpec String  componentSpec  )  throws IllegalArgumentException [inline]
 

Creates an instance of ComponentInfo from stringified ComponentSpec.

Parameters:
componentSpec stringified ComponentSpec, non-null
Exceptions:
BadParametersException 
See also:
parseComponentSpec


Member Function Documentation

String com::cosylab::acs::maci::ComponentSpec::getCode  )  [inline]
 

Returns the code.

Returns:
String

String com::cosylab::acs::maci::ComponentSpec::getContainer  )  [inline]
 

Returns the container.

Returns:
String

String com::cosylab::acs::maci::ComponentSpec::getName  )  [inline]
 

Returns the name.

Returns:
String

String com::cosylab::acs::maci::ComponentSpec::getType  )  [inline]
 

Returns the type.

Returns:
String

void com::cosylab::acs::maci::ComponentSpec::parseComponentSpec String  componentSpec  )  throws IllegalArgumentException [inline, private]
 

Creates an instance of ComponentInfo from stringified ComponentSpec. Format:

 		name + "|" + type + "|" + code + "|" + containerName
 

Empty fields are allowed.

Parameters:
componentSpec stringified ComponentSpec
Exceptions:
BadParametersException 

void com::cosylab::acs::maci::ComponentSpec::setCode String  code  )  [inline]
 

Sets the code.

Parameters:
code The component's code.

void com::cosylab::acs::maci::ComponentSpec::setContainer String  container  )  [inline]
 

Sets the container.

Parameters:
container The container to set

void com::cosylab::acs::maci::ComponentSpec::setName String  name  )  [inline]
 

Sets the name.

Parameters:
name The name to set

void com::cosylab::acs::maci::ComponentSpec::setType String  type  )  [inline]
 

Sets the type.

Parameters:
type The type to set

String com::cosylab::acs::maci::ComponentSpec::toString  )  [inline]
 

Returns a single-line rendition of this instance into text.

Returns:
internal state of this instance


Member Data Documentation

String com::cosylab::acs::maci::ComponentSpec::code [private]
 

The code of the component. Code is a identifying component's executable code (library/class name).

final String com::cosylab::acs::maci::ComponentSpec::COMPSPEC_ANY = "*" [static]
 

Any ComponentSpec string.

String com::cosylab::acs::maci::ComponentSpec::container [private]
 

Name of the container which hosts the component.

String com::cosylab::acs::maci::ComponentSpec::name [private]
 

CURL of the component.

String com::cosylab::acs::maci::ComponentSpec::type [private]
 

The type of the component.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:11:14 2009 for ACS Java API by doxygen 1.3.8