Class CitationField

  • All Implemented Interfaces:
    HasJsonKey

    public class CitationField
    extends Object
    implements HasJsonKey
    Represents a citation field -- its name and value.
    • Constructor Detail

      • CitationField

        public CitationField()
      • CitationField

        public CitationField​(URI name,
                             String value)
      • CitationField

        public CitationField​(String name,
                             String value)
    • Method Detail

      • getName

        public URI getName()
        The citation field's name.
        Returns:
        The citation field's name.
      • setName

        public void setName​(URI name)
        The citation field's name.
        Parameters:
        name - The citation field's name.
      • name

        public CitationField name​(URI name)
        Build out this citation field with a name.
        Parameters:
        name - the name.
        Returns:
        this.
      • setNameValue

        public void setNameValue​(String name)
        The citation field's name.
        Parameters:
        name - The citation field's name.
      • nameValue

        public CitationField nameValue​(String name)
        Build out this citation field with a name.
        Parameters:
        name - The name.
        Returns:
        this.
      • getJsonKey

        public String getJsonKey()
        The json key that is used define this link in a map.
        Specified by:
        getJsonKey in interface HasJsonKey
        Returns:
        The json key that is used define this link in a map.
      • setJsonKey

        public void setJsonKey​(String jsonKey)
        The json key that is used define this link in a map.
        Specified by:
        setJsonKey in interface HasJsonKey
        Parameters:
        jsonKey - The json key that is used define this link in a map.
      • getValue

        public String getValue()
        The citation field's value.
        Returns:
        The citation field's value.
      • setValue

        public void setValue​(String value)
        The citation field's value.
        Parameters:
        value - The citation field's value.
      • value

        public CitationField value​(String value)
        Build out this citation field with a value.
        Parameters:
        value - The value.
        Returns:
        this.