Class RelationshipType

java.lang.Object
eu.dnetlib.dhp.schema.sx.api.model.v2.RelationshipType

public class RelationshipType extends Object
The type Relationship type.
  • Field Details

  • Constructor Details

    • RelationshipType

      public RelationshipType()
  • Method Details

    • getName

      public String getName()
      Gets The relationship type chosen from a Scholix controlled vocabulary
      Returns:
      the name
    • setName

      public RelationshipType setName(String name)
      Sets The relationship type chosen from a Scholix controlled vocabulary
      Parameters:
      name - the name
      Returns:
      the RelationshipType instance
    • getSubType

      public String getSubType()
      Gets The sub-type of RelationshipType.Name
      Returns:
      the sub type
    • setSubType

      public RelationshipType setSubType(String subType)
      Sets The sub-type of RelationshipType.Name
      Parameters:
      subType - the sub type
      Returns:
      the RelationshipType instance
    • getSubTypeSchema

      public String getSubTypeSchema()
      Gets The name of the schema or controlled list from which RelationshipSub-type is sourced.
      Returns:
      the sub type schema
    • setSubTypeSchema

      public RelationshipType setSubTypeSchema(String subTypeSchema)
      Sets The name of the schema or controlled list from which RelationshipSub-type is sourced.
      Parameters:
      subTypeSchema - the sub type schema
      Returns:
      the RelationshipType instance
    • fromScholixRelationship

      public static RelationshipType fromScholixRelationship(ScholixRelationship inputRels)