Package eu.dnetlib.dhp.schema.sx.scholix
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 Summary
ConstructorsConstructorDescriptionInstantiates a new Scholix identifier.ScholixIdentifier(String identifier, String schema, String url) Instantiates a new Scholix identifier. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ScholixIdentifier other) booleanGets identifier.Gets schema.getUrl()Gets url.inthashCode()voidsetIdentifier(String identifier) Sets identifier.voidSets schema.voidSets url.
-
Constructor Details
-
ScholixIdentifier
public ScholixIdentifier()Instantiates a new Scholix identifier. -
ScholixIdentifier
Instantiates a new Scholix identifier.- Parameters:
identifier- the identifierschema- the schemaurl- the url
-
-
Method Details
-
getUrl
Gets url.- Returns:
- the url
-
setUrl
Sets url.- Parameters:
url- the url
-
getIdentifier
Gets identifier.- Returns:
- the identifier
-
setIdentifier
Sets identifier.- Parameters:
identifier- the identifier
-
getSchema
Gets schema.- Returns:
- the schema
-
setSchema
Sets schema.- Parameters:
schema- the schema
-
compareTo
- Specified by:
compareToin interfaceComparable<ScholixIdentifier>
-
equals
-
hashCode
public int hashCode()
-