Class ScholixIdentifier

java.lang.Object
eu.dnetlib.dhp.schema.sx.scholix.ScholixIdentifier
All Implemented Interfaces:
Serializable, Comparable<ScholixIdentifier>

public class ScholixIdentifier extends Object implements Serializable, Comparable<ScholixIdentifier>
The type Scholix identifier.
See Also:
  • Constructor Details

    • ScholixIdentifier

      public ScholixIdentifier()
      Instantiates a new Scholix identifier.
    • ScholixIdentifier

      public ScholixIdentifier(String identifier, String schema, String url)
      Instantiates a new Scholix identifier.
      Parameters:
      identifier - the identifier
      schema - the schema
      url - the url
  • Method Details

    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • setUrl

      public void setUrl(String url)
      Sets url.
      Parameters:
      url - the url
    • getIdentifier

      public String getIdentifier()
      Gets identifier.
      Returns:
      the identifier
    • setIdentifier

      public void setIdentifier(String identifier)
      Sets identifier.
      Parameters:
      identifier - the identifier
    • getSchema

      public String getSchema()
      Gets schema.
      Returns:
      the schema
    • setSchema

      public void setSchema(String schema)
      Sets schema.
      Parameters:
      schema - the schema
    • compareTo

      public int compareTo(ScholixIdentifier other)
      Specified by:
      compareTo in interface Comparable<ScholixIdentifier>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object