Class Email

java.lang.Object
org.orcid.jaxb.model.message.Email
All Implemented Interfaces:
Serializable, VisibilityType

public class Email extends Object implements Serializable, VisibilityType
Java class for anonymous complex type. The following schema fragment specifies the expected content contained within this class.
 <complexType>
   <simpleContent>
     <extension base="<http://www.orcid.org/ns/orcid>email">
       <attGroup ref="{http://www.orcid.org/ns/orcid}visibility"/>
       <attribute name="primary" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="current" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="verified" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </simpleContent>
 </complexType>
 
See Also:
  • Field Details

    • value

      protected String value
    • primary

      protected Boolean primary
    • current

      protected Boolean current
    • verified

      protected Boolean verified
    • visibility

      protected Visibility visibility
    • source

      protected String source
    • sourceClientId

      protected String sourceClientId
  • Constructor Details

    • Email

      public Email()
    • Email

      public Email(String value)
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • isPrimary

      public boolean isPrimary()
      Gets the value of the primary property.
      Returns:
      possible object is Boolean
    • setPrimary

      public void setPrimary(Boolean value)
      Sets the value of the primary property.
      Parameters:
      value - allowed object is Boolean
    • isCurrent

      public boolean isCurrent()
      Gets the value of the current property.
      Returns:
      possible object is Boolean
    • setCurrent

      public void setCurrent(Boolean value)
      Sets the value of the current property.
      Parameters:
      value - allowed object is Boolean
    • isVerified

      public boolean isVerified()
      Gets the value of the verified property.
      Returns:
      possible object is Boolean
    • setVerified

      public void setVerified(Boolean value)
      Sets the value of the verified property.
      Parameters:
      value - allowed object is Boolean
    • getVisibility

      public Visibility getVisibility()
      Gets the value of the visibility property.
      Specified by:
      getVisibility in interface VisibilityType
      Returns:
      possible object is Visibility
    • setVisibility

      public void setVisibility(Visibility value)
      Sets the value of the visibility property.
      Specified by:
      setVisibility in interface VisibilityType
      Parameters:
      value - allowed object is Visibility
    • getSource

      public String getSource()
    • setSource

      public void setSource(String source)
    • getSourceClientId

      public String getSourceClientId()
    • setSourceClientId

      public void setSourceClientId(String sourceClientId)
    • hashCode

      public int hashCode()
      Note that hashCode and equals only use the value of the address
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Note that hashCode and equals only use the value of the address
      Overrides:
      equals in class Object