org.apache.jetspeed.profiler.rules.impl
Class PrincipalRuleImpl

java.lang.Object
  extended by org.apache.jetspeed.profiler.rules.impl.PrincipalRuleImpl
All Implemented Interfaces:
java.io.Serializable, PrincipalRule

public class PrincipalRuleImpl
extends java.lang.Object
implements PrincipalRule

PrincipalRuleImpl

Version:
$Id: PrincipalRuleImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor
See Also:
Serialized Form

Constructor Summary
PrincipalRuleImpl()
           
 
Method Summary
 java.lang.String getLocatorName()
          Gets the name of the locator in this principal/rule/locator pair association.
 java.lang.String getPrincipalName()
          Gets the name of the principal in this principal/rule/locator pair association.
 ProfilingRule getProfilingRule()
          Gets the profiling rule associated with the principal name
 void setLocatorName(java.lang.String locatorName)
          Sets the name of the locator in this principal/locator/rule pair association.
 void setPrincipalName(java.lang.String name)
          Sets the name of the principal in this principal/rule/locator pair association.
 void setProfilingRule(ProfilingRule rule)
          Sets the profiling rule associated with the principal name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalRuleImpl

public PrincipalRuleImpl()
Method Detail

getPrincipalName

public java.lang.String getPrincipalName()
Description copied from interface: PrincipalRule
Gets the name of the principal in this principal/rule/locator pair association. The principal name identifies the uniqueness of the relationship. It is used for keyed lookups to find the rule associated with this principal.

Specified by:
getPrincipalName in interface PrincipalRule
Returns:
The name of the principal in this association.

setPrincipalName

public void setPrincipalName(java.lang.String name)
Description copied from interface: PrincipalRule
Sets the name of the principal in this principal/rule/locator pair association. The principal name identifies the uniqueness of the relationship. It is used for keyed lookups to find the rule associated with this principal.

Specified by:
setPrincipalName in interface PrincipalRule
Parameters:
name - The name of the principal in this association.

getProfilingRule

public ProfilingRule getProfilingRule()
Description copied from interface: PrincipalRule
Gets the profiling rule associated with the principal name

Specified by:
getProfilingRule in interface PrincipalRule
Returns:
The profiling rule associated with the principal name

setProfilingRule

public void setProfilingRule(ProfilingRule rule)
Description copied from interface: PrincipalRule
Sets the profiling rule associated with the principal name

Specified by:
setProfilingRule in interface PrincipalRule
Parameters:
rule - The profiling rule associated with the principal name

getLocatorName

public java.lang.String getLocatorName()
Description copied from interface: PrincipalRule
Gets the name of the locator in this principal/rule/locator pair association. The principal + locator name identifies the uniqueness of the relationship. It is used for keyed lookups to find the rule associated with this principal for a given locator

Specified by:
getLocatorName in interface PrincipalRule
Returns:
Returns the locatorName.

setLocatorName

public void setLocatorName(java.lang.String locatorName)
Description copied from interface: PrincipalRule
Sets the name of the locator in this principal/locator/rule pair association. The principal name + locator name identifies the uniqueness of the relationship. It is used for keyed lookups to find the rule associated with this principal for a given locator

Specified by:
setLocatorName in interface PrincipalRule
Parameters:
locatorName - The locatorName to set.


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.