const NAString
StmtDDLDropComponentPrivilege::displayLabel1() const
{
  NAString aLabel("Component privilege name: ");
  aLabel += getComponentPrivilegeName();
  return aLabel;
}
const NAString
StmtDDLDropComponentPrivilege::displayLabel2() const
{
  NAString aLabel("Component name: ");
  aLabel += getComponentName();
  aLabel += " Drop behavior: ";
  if (dropBehavior_ == COM_CASCADE_DROP_BEHAVIOR)
     aLabel += "CASCADE";
  else
     aLabel += "RESTRICT";
      
  return aLabel;
}
const NAString
StmtDDLRegisterComponent::displayLabel1() const
{
    NAString aLabel("UNREGISTER COMPONENT");
    if (getRegisterComponentType() == StmtDDLRegisterComponent::REGISTER_COMPONENT)
    {
        aLabel = "REGISTER COMPONENT";
        if (isSystem())
            aLabel += " (SYSTEM)";
    }
    aLabel += " - External Component name: ";
    aLabel += getExternalComponentName();
    if (getRegisterComponentType() == StmtDDLRegisterComponent::UNREGISTER_COMPONENT)
    {
        aLabel += " Drop behavior: ";
        if (dropBehavior_ == COM_CASCADE_DROP_BEHAVIOR)
            aLabel += "CASCADE";
        else
            aLabel += "RESTRICT";
    }
    return aLabel;
}
const NAString StmtDDLRevokeComponentPrivilege::displayLabel2() const
{
    NAString aLabel("User rol name: ");
    aLabel += getUserRoleName();
    return aLabel;
}
const NAString StmtDDLRevokeComponentPrivilege::displayLabel1() const
{
    NAString aLabel("Component name: ");
    aLabel += getComponentName();
    return aLabel;
}