org.nhindirect.config.model
Class CertPolicyGroupUse

java.lang.Object
  extended by org.nhindirect.config.model.CertPolicyGroupUse

public class CertPolicyGroupUse
extends Object

Certificate policy usages.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
CertPolicyGroupUse()
          Empty constructor
 
Method Summary
 CertPolicy getPolicy()
          Gets the policy that is associated with the policy group.
 CertPolicyUse getPolicyUse()
          Gets the usage enumeration that indicates where the policy should be applied.
 boolean isIncoming()
          Indicates if the policy should be applied to incoming messages.
 boolean isOutgoing()
          Indicates if the policy should be applied to outgoing messages.
 void setIncoming(boolean incoming)
          Sets the incoming message usage flag.
 void setOutgoing(boolean outgoing)
          Sets the outgoing message usage flag.
 void setPolicy(CertPolicy policy)
          Sets the policy that is associated with the policy group.
 void setPolicyUse(CertPolicyUse policyUse)
          Sets the usage enumeration that indicates where the policy should be applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPolicyGroupUse

public CertPolicyGroupUse()
Empty constructor

Method Detail

getPolicy

public CertPolicy getPolicy()
Gets the policy that is associated with the policy group.

Returns:
The policy that is associated with the policy group.

setPolicy

public void setPolicy(CertPolicy policy)
Sets the policy that is associated with the policy group.

Parameters:
policy - The policy that is associated with the policy group.

getPolicyUse

public CertPolicyUse getPolicyUse()
Gets the usage enumeration that indicates where the policy should be applied.

Returns:
The usage enumeration that indicates where the policy should be applied.

setPolicyUse

public void setPolicyUse(CertPolicyUse policyUse)
Sets the usage enumeration that indicates where the policy should be applied.

Parameters:
policyUse - The usage enumeration that indicates where the policy should be applied.

isIncoming

public boolean isIncoming()
Indicates if the policy should be applied to incoming messages.

Returns:
True if the policy should be applied to incoming messages. False otherwise.

setIncoming

public void setIncoming(boolean incoming)
Sets the incoming message usage flag.

Parameters:
incoming - True if the policy should be applied to incoming messages. False otherwise.

isOutgoing

public boolean isOutgoing()
Indicates if the policy should be applied to outgoing messages.

Returns:
True if the policy should be applied to outgoing messages. False otherwise.

setOutgoing

public void setOutgoing(boolean outgoing)
Sets the outgoing message usage flag.

Parameters:
outgoing - True if the policy should be applied to outgoing messages. False otherwise.


Copyright © 2014. All Rights Reserved.