public class ResearchData extends Object
| Constructor and Description |
|---|
ResearchData(String url,
String label)
Simple constructor that requires all mandatory fields.
|
ResearchData(String url,
String label,
String type)
Constructor that requires all fields.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getIdentifier()
Retrieves the locally (within this document) unique identifier for the file.
|
String |
getLabel()
Retrieves the human readable name for the file.
|
String |
getType()
Retrieves the file format, extension or mimetype.
|
String |
getUrl()
Retrieves the URL that is used to access the file.
|
int |
hashCode() |
void |
setType(String type)
Sets the file format, extension or mimetype.
|
String |
toString() |
public ResearchData(String url, String label)
url - the file URLlabel - the file display namepublic String getUrl()
public String getLabel()
public String getIdentifier()
public String getType()
public void setType(String type)
type - the file format, extension or mimetypeprotected boolean canEqual(Object other)
Copyright © 2017–2019. All rights reserved.