gov.nih.nci.cagrid.dorian.ifs.bean
Class HostCertificateRecord

java.lang.Object
  extended by gov.nih.nci.cagrid.dorian.ifs.bean.HostCertificateRecord
All Implemented Interfaces:
java.io.Serializable

public class HostCertificateRecord
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
HostCertificateRecord()
           
HostCertificateRecord(X509Certificate certificate, java.lang.String host, int id, java.lang.String owner, PublicKey publicKey, long serialNumber, HostCertificateStatus status, java.lang.String subject)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 X509Certificate getCertificate()
          Gets the certificate value for this HostCertificateRecord.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getHost()
          Gets the host value for this HostCertificateRecord.
 int getId()
          Gets the id value for this HostCertificateRecord.
 java.lang.String getOwner()
          Gets the owner value for this HostCertificateRecord.
 PublicKey getPublicKey()
          Gets the publicKey value for this HostCertificateRecord.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 long getSerialNumber()
          Gets the serialNumber value for this HostCertificateRecord.
 HostCertificateStatus getStatus()
          Gets the status value for this HostCertificateRecord.
 java.lang.String getSubject()
          Gets the subject value for this HostCertificateRecord.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCertificate(X509Certificate certificate)
          Sets the certificate value for this HostCertificateRecord.
 void setHost(java.lang.String host)
          Sets the host value for this HostCertificateRecord.
 void setId(int id)
          Sets the id value for this HostCertificateRecord.
 void setOwner(java.lang.String owner)
          Sets the owner value for this HostCertificateRecord.
 void setPublicKey(PublicKey publicKey)
          Sets the publicKey value for this HostCertificateRecord.
 void setSerialNumber(long serialNumber)
          Sets the serialNumber value for this HostCertificateRecord.
 void setStatus(HostCertificateStatus status)
          Sets the status value for this HostCertificateRecord.
 void setSubject(java.lang.String subject)
          Sets the subject value for this HostCertificateRecord.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostCertificateRecord

public HostCertificateRecord()

HostCertificateRecord

public HostCertificateRecord(X509Certificate certificate,
                             java.lang.String host,
                             int id,
                             java.lang.String owner,
                             PublicKey publicKey,
                             long serialNumber,
                             HostCertificateStatus status,
                             java.lang.String subject)
Method Detail

getId

public int getId()
Gets the id value for this HostCertificateRecord.

Returns:
id

setId

public void setId(int id)
Sets the id value for this HostCertificateRecord.

Parameters:
id -

getSerialNumber

public long getSerialNumber()
Gets the serialNumber value for this HostCertificateRecord.

Returns:
serialNumber

setSerialNumber

public void setSerialNumber(long serialNumber)
Sets the serialNumber value for this HostCertificateRecord.

Parameters:
serialNumber -

getHost

public java.lang.String getHost()
Gets the host value for this HostCertificateRecord.

Returns:
host

setHost

public void setHost(java.lang.String host)
Sets the host value for this HostCertificateRecord.

Parameters:
host -

getSubject

public java.lang.String getSubject()
Gets the subject value for this HostCertificateRecord.

Returns:
subject

setSubject

public void setSubject(java.lang.String subject)
Sets the subject value for this HostCertificateRecord.

Parameters:
subject -

getOwner

public java.lang.String getOwner()
Gets the owner value for this HostCertificateRecord.

Returns:
owner

setOwner

public void setOwner(java.lang.String owner)
Sets the owner value for this HostCertificateRecord.

Parameters:
owner -

getStatus

public HostCertificateStatus getStatus()
Gets the status value for this HostCertificateRecord.

Returns:
status

setStatus

public void setStatus(HostCertificateStatus status)
Sets the status value for this HostCertificateRecord.

Parameters:
status -

getCertificate

public X509Certificate getCertificate()
Gets the certificate value for this HostCertificateRecord.

Returns:
certificate

setCertificate

public void setCertificate(X509Certificate certificate)
Sets the certificate value for this HostCertificateRecord.

Parameters:
certificate -

getPublicKey

public PublicKey getPublicKey()
Gets the publicKey value for this HostCertificateRecord.

Returns:
publicKey

setPublicKey

public void setPublicKey(PublicKey publicKey)
Sets the publicKey value for this HostCertificateRecord.

Parameters:
publicKey -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer