Credential

public class Credential extends AbstractID

Java class for credential complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="credential">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="codedType" type="{urn:ihe:iti:csd:2013}codedtype"/>
        <element name="number" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="issuingAuthority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
        <element name="credentialIssueDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
        <element name="credentialRenewalDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
        <element name="extension" type="{urn:ihe:iti:csd:2013}extension" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Constructors

Credential

public Credential()

Credential

public Credential(CodedType codedType, String number)

Credential

public Credential(CodedType codedType, String number, String issuingAuthority, DateTime credentialIssueDate, DateTime credentialRenewalDate, Set<Extension> extensions)

Methods

equals

public boolean equals(Object o)

getCodedType

public CodedType getCodedType()

getCredentialIssueDate

public DateTime getCredentialIssueDate()

getCredentialRenewalDate

public DateTime getCredentialRenewalDate()

getExtensions

public Set<Extension> getExtensions()

getIssuingAuthority

public String getIssuingAuthority()

getNumber

public String getNumber()

hashCode

public int hashCode()

setCodedType

public void setCodedType(CodedType codedType)

setCredentialIssueDate

public void setCredentialIssueDate(DateTime credentialIssueDate)

setCredentialRenewalDate

public void setCredentialRenewalDate(DateTime credentialRenewalDate)

setExtensions

public void setExtensions(Set<Extension> extensions)

setIssuingAuthority

public void setIssuingAuthority(String issuingAuthority)

setNumber

public void setNumber(String number)

toString

public String toString()