atg.svc.ui.util
Class ServiceUIComponent

java.lang.Object
  extended by atg.svc.ui.util.ServiceUIComponent

public class ServiceUIComponent
extends java.lang.Object

The Service UI Component is a class created to store information about Service UI Components that we do not want to persist in a customer facing database.

Author:
Jonathan Busconi

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
ServiceUIComponent(java.lang.String pName, java.lang.String pProductRequired, java.lang.String pComponentType)
          Constructor takes the component name, license required, product required, and component type
 
Method Summary
 java.lang.String getComponentType()
          Gets the component type of the component
 java.lang.String getName()
          Gets the name of the component
 java.lang.String getProductRequired()
          Gets the product required for the component
 java.lang.String print()
          Useful for debugging, this prints a string representation of component values
 void setComponentType(java.lang.String pComponentType)
          Sets the component type of the component
 void setName(java.lang.String pName)
          Sets the name of the component
 void setProductRequired(java.lang.String pProductRequired)
          Sets the product required for the component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

ServiceUIComponent

public ServiceUIComponent(java.lang.String pName,
                          java.lang.String pProductRequired,
                          java.lang.String pComponentType)
Constructor takes the component name, license required, product required, and component type

Parameters:
pName - represents name of UI Component and currently matches its ID
pProductRequired - represents the module required to view the component
pComponentType - represents the type of UI Component
Method Detail

getName

public java.lang.String getName()
Gets the name of the component

Returns:
String for the name

setName

public void setName(java.lang.String pName)
Sets the name of the component

Parameters:
pName - for the name

getProductRequired

public java.lang.String getProductRequired()
Gets the product required for the component

Returns:
String for the product required

setProductRequired

public void setProductRequired(java.lang.String pProductRequired)
Sets the product required for the component

Parameters:
pProductRequired - for the product required

getComponentType

public java.lang.String getComponentType()
Gets the component type of the component

Returns:
String for the component type such as a tab or panel

setComponentType

public void setComponentType(java.lang.String pComponentType)
Sets the component type of the component

Parameters:
pComponentType - for the component type

print

public java.lang.String print()
Useful for debugging, this prints a string representation of component values