Class V1Address

java.lang.Object
com.clinia.model.common.V1Address

public class V1Address extends Object
An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.
  • Constructor Details

    • V1Address

      public V1Address()
  • Method Details

    • setId

      public V1Address setId(String id)
    • getId

      @Nullable public String getId()
      A sequence of Unicode characters.
    • setUse

      public V1Address setUse(String use)
    • getUse

      @Nullable public String getUse()
      A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
    • setType

      public V1Address setType(String type)
    • getType

      @Nullable public String getType()
      A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
    • setText

      public V1Address setText(String text)
    • getText

      @Nullable public String getText()
      A sequence of Unicode characters.
    • setLine

      public V1Address setLine(List<String> line)
    • addLine

      public V1Address addLine(String lineItem)
    • getLine

      @Nullable public List<String> getLine()
      Street name, number, direction, P.O. Box etc. The line order is the order in which lines should appear in an address label.
    • setCity

      public V1Address setCity(String city)
    • getCity

      @Nullable public String getCity()
      A sequence of Unicode characters.
    • setDistrict

      public V1Address setDistrict(String district)
    • getDistrict

      @Nullable public String getDistrict()
      A sequence of Unicode characters.
    • setState

      public V1Address setState(String state)
    • getState

      @Nullable public String getState()
      A sequence of Unicode characters.
    • setPostalCode

      public V1Address setPostalCode(String postalCode)
    • getPostalCode

      @Nullable public String getPostalCode()
      A sequence of Unicode characters.
    • setCountry

      public V1Address setCountry(String country)
    • getCountry

      @Nullable public String getCountry()
      A sequence of Unicode characters.
    • setPeriod

      public V1Address setPeriod(V1Period period)
    • getPeriod

      @Nullable public V1Period getPeriod()
      Get period
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object