| java.lang.Object org.griphyn.cPlanner.classes.Data org.griphyn.cPlanner.classes.Profile
Profile | public class Profile extends Data (Code) | | This Class hold informations about profiles associated with a tc.
author: Gaurang Mehta gmehta@isi.edu author: Karan Vahi vahi@isi.edu version: $Revision: 109 $ |
Constructor Summary | |
public | Profile() | public | Profile(String namespace, String key, String value) This constructor allows to set the namespace , key and value of the PoolProfile.
Parameters: namespace - Takes a String as the namespace. |
Profile | public Profile(String namespace, String key, String value)(Code) | | This constructor allows to set the namespace , key and value of the PoolProfile.
Parameters: namespace - Takes a String as the namespace. Has to be one of the predefined types. Parameters: key - Takes a String as the key. Parameters: value - The value for the key as String throws: Exception - |
clone | public Object clone()(Code) | | Returns a copy of the object.
copy of the object. |
getProfile | public List getProfile()(Code) | | Returns the Profile (namespace, value and key);
ArrayList |
getProfileKey | public String getProfileKey()(Code) | | Returns the Key of the Profile
String |
getProfileNamespace | public String getProfileNamespace()(Code) | | Returns the NameSpace of the Profile
String |
getProfileValue | public String getProfileValue()(Code) | | Returns the Value for the profile
String |
setProfile | public void setProfile(String namespace, String key, String value)(Code) | | This method allows to set the namespace , key and value of the Profile.
Parameters: namespace - Takes a String as the namespace. Has to be one of the predefined types. Parameters: key - Takes a String as the key. Parameters: value - The value for the key as String throws: Exception - |
toMultiLine | public String toMultiLine()(Code) | | Returns the textual description of the contents of Profile
object in the multiline format.
the textual description in multiline format. |
toXML | public String toXML()(Code) | | This method returns an xml of the contents of this object.
String. |
validTypesToString | public static String validTypesToString()(Code) | | Returns a comma separated string containing the valid namespace types.
comma separated list. |
|
|