org.nhindirect.config.store
Class Anchor

java.lang.Object
  extended by org.nhindirect.config.store.Anchor

@Entity
public class Anchor
extends Object


Constructor Summary
Anchor()
           
 
Method Summary
 long getCertificateId()
          Get the value of certificateId.
 Calendar getCreateTime()
          Get the value of createTime.
 byte[] getData()
          Get the value of certificateData.
 long getId()
          Get the value of id.
 String getOwner()
          Get the value of owner.
 EntityStatus getStatus()
          Get the value of status.
 String getThumbprint()
          Get the value of thumbprint.
 Calendar getValidEndDate()
          Get the value of validEndDate.
 Calendar getValidStartDate()
          Get the value of validStartDate.
 boolean isIncoming()
          Get the value of incoming.
 boolean isOutgoing()
          Get the value of outgoing.
 void setCertificateId(long certificateId)
          Set the value of certificateId.
 void setCreateTime(Calendar timestamp)
          Set the value of createTime.
 void setData(byte[] data)
          Set the value of certificateData.
 void setId(long id)
          Set the value of id.
 void setIncoming(boolean incoming)
          Set the value of incoming.
 void setOutgoing(boolean outgoing)
          Set the value of outgoing.
 void setOwner(String owner)
          Set the value of owner.
 void setStatus(EntityStatus status)
          Set the value of status.
 void setThumbprint(String thumbprint)
          Set the value of thumbprint.
 void setValidEndDate(Calendar validEndDate)
          Set the value of validEndDate.
 void setValidStartDate(Calendar validStartDate)
          Set the value of validStartDate.
 X509Certificate toCertificate()
           
 void validate()
          Validate the Anchor for the existance of data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Anchor

public Anchor()
Method Detail

getOwner

public String getOwner()
Get the value of owner.

Returns:
the value of owner.

setOwner

public void setOwner(String owner)
Set the value of owner.

Parameters:
owner - The value of owner.

getThumbprint

public String getThumbprint()
Get the value of thumbprint.

Returns:
the value of thumbprint.

setThumbprint

public void setThumbprint(String thumbprint)
Set the value of thumbprint.

Parameters:
thumbprint - The value of thumbprint.

getData

public byte[] getData()
Get the value of certificateData.

Returns:
the value of certificateData.

setData

public void setData(byte[] data)
             throws CertificateException
Set the value of certificateData.

Parameters:
data - The value of certificateData.
Throws:
CertificateException

getId

public long getId()
Get the value of id.

Returns:
the value of id.

setId

public void setId(long id)
Set the value of id.

Parameters:
id - The value of id.

getCreateTime

public Calendar getCreateTime()
Get the value of createTime.

Returns:
the value of createTime.

setCreateTime

public void setCreateTime(Calendar timestamp)
Set the value of createTime.

Parameters:
timestamp - The value of createTime.

getValidStartDate

public Calendar getValidStartDate()
Get the value of validStartDate.

Returns:
the value of validStartDate.

setValidStartDate

public void setValidStartDate(Calendar validStartDate)
Set the value of validStartDate.

Parameters:
validStartDate - The value of validStartDate.

getValidEndDate

public Calendar getValidEndDate()
Get the value of validEndDate.

Returns:
the value of validEndDate.

setValidEndDate

public void setValidEndDate(Calendar validEndDate)
Set the value of validEndDate.

Parameters:
validEndDate - The value of validEndDate.

getStatus

public EntityStatus getStatus()
Get the value of status.

Returns:
the value of status.

setStatus

public void setStatus(EntityStatus status)
Set the value of status.

Parameters:
status - The value of status.

isIncoming

public boolean isIncoming()
Get the value of incoming.

Returns:
the value of incoming.

setIncoming

public void setIncoming(boolean incoming)
Set the value of incoming.

Parameters:
incoming - The value of incoming.

isOutgoing

public boolean isOutgoing()
Get the value of outgoing.

Returns:
the value of outgoing.

setOutgoing

public void setOutgoing(boolean outgoing)
Set the value of outgoing.

Parameters:
outgoing - The value of outgoing.

getCertificateId

public long getCertificateId()
Get the value of certificateId.

Returns:
the value of certificateId.

setCertificateId

public void setCertificateId(long certificateId)
Set the value of certificateId.

Parameters:
certificateId - The value of certificateId.

toCertificate

public X509Certificate toCertificate()
                              throws CertificateException
Throws:
CertificateException

validate

public void validate()
              throws CertificateException
Validate the Anchor for the existance of data.

Throws:
CertificateException


Copyright © 2011. All Rights Reserved.