org.nhindirect.config.model
Class CertPolicy

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

public class CertPolicy
extends Object

Certificate policy.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
CertPolicy()
          Empty constructor
 
Method Summary
 Calendar getCreateTime()
          Gets the time the policy was imported into the system.
 org.nhindirect.policy.PolicyLexicon getLexicon()
          Gets the lexicon that this policy is written in.
 byte[] getPolicyData()
          Gets the policy definition in byte array format.
 String getPolicyName()
          Gets the name of the policy.
 void setCreateTime(Calendar createTime)
          Sets the time the policy was imported into the system.
 void setLexicon(org.nhindirect.policy.PolicyLexicon lexicon)
          Sets the lexicon that this policy is written in.
 void setPolicyData(byte[] policyData)
          Sets the policy definition in byte array format.
 void setPolicyName(String policyName)
          Sets the name of the policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertPolicy

public CertPolicy()
Empty constructor

Method Detail

getPolicyName

public String getPolicyName()
Gets the name of the policy. Policy names are unique and case sensitive.

Returns:
The name of the policy.

setPolicyName

public void setPolicyName(String policyName)
Sets the name of the policy. Policy names are unique and case sensitive.

Parameters:
policyName - The name of the policy.

getPolicyData

public byte[] getPolicyData()
Gets the policy definition in byte array format.

Returns:
The policy definition.

setPolicyData

public void setPolicyData(byte[] policyData)
Sets the policy definition in byte array format.

Parameters:
policyData - The policy definition

getCreateTime

public Calendar getCreateTime()
Gets the time the policy was imported into the system.

Returns:
The time the policy was imported into the system.

setCreateTime

public void setCreateTime(Calendar createTime)
Sets the time the policy was imported into the system.

Parameters:
createTime - The time the policy was imported into the system.

getLexicon

public org.nhindirect.policy.PolicyLexicon getLexicon()
Gets the lexicon that this policy is written in.

Returns:
The lexicon that this policy is written in.

setLexicon

public void setLexicon(org.nhindirect.policy.PolicyLexicon lexicon)
Sets the lexicon that this policy is written in.

Parameters:
lexicon - The lexicon that this policy is written in.


Copyright © 2014. All Rights Reserved.