Class SubmissionCCLicenseUrl

java.lang.Object
org.dspace.app.rest.model.wrapper.SubmissionCCLicenseUrl

public class SubmissionCCLicenseUrl extends Object
This class represents a model implementation for SubmissionCCLicenseUrlRest This will simply store a url and an id. it'll be used to create an object with these variables out of information that came from the back-end. This object will then be used in the SubmissionCCLicenseUrlConverter to turn it into its REST object
  • Constructor Details

    • SubmissionCCLicenseUrl

      public SubmissionCCLicenseUrl(String url, String id)
      Default constructor with two parameters, url and id
      Parameters:
      url - The url of this object
      id - The id of this object
  • Method Details

    • getUrl

      public String getUrl()
      Generic getter for the url
      Returns:
      the url value of this SubmissionCCLicenseUrl
    • setUrl

      public void setUrl(String url)
      Generic setter for the url
      Parameters:
      url - The url to be set on this SubmissionCCLicenseUrl
    • getId

      public String getId()
      Generic getter for the id
      Returns:
      the id value of this SubmissionCCLicenseUrl
    • setId

      public void setId(String id)
      Generic setter for the id
      Parameters:
      id - The id to be set on this SubmissionCCLicenseUrl