public enum RightsOption extends Enum<RightsOption>
| Enum Constant and Description |
|---|
CC_BY
open
http://creativecommons.org/licenses/by/
|
CC_BY_NC
restricted
http://creativecommons.org/licenses/by-nc/
|
CC_BY_NC_ND
restricted
http://creativecommons.org/licenses/by-nc-nd/
|
CC_BY_NC_SA
restricted
http://creativecommons.org/licenses/by-nc-sa/
|
CC_BY_ND
restricted
http://creativecommons.org/licenses/by-nd/
|
CC_BY_SA
open
http://creativecommons.org/licenses/by-sa/
|
CC_NOC
open
http://creativecommons.org/publicdomain/mark/
|
CC_ZERO
open
http://creativecommons.org/publicdomain/zero
|
EU_OOC_NC
restricted
http://www.europeana.eu/rights/out-of-copyright-non-commercial/
|
EU_ORPHAN
permission
http://www.europeana.eu/rights/test-orphan-work-test/
|
EU_RR_F
permission
http://www.europeana.eu/rights/rr-f/
|
EU_RR_P
permission
http://www.europeana.eu/rights/rr-p/
|
EU_RR_R
permission
http://www.europeana.eu/rights/rr-r/
|
EU_U
permission
http://www.europeana.eu/rights/unknown/
|
RS_CNE
permission
http://rightsstatements.org/vocab/CNE/1.0/
|
RS_INC
permission
http://rightsstatements.org/vocab/InC/1.0/
|
RS_INC_EDU
restricted
http://rightsstatements.org/vocab/InC-EDU/1.0/
|
RS_INC_OW_EU
permission
http://rightsstatements.org/vocab/InC-OW-EU/1.0/
|
RS_NOC_NC
restricted
http://rightsstatements.org/vocab/NoC-NC/1.0/
|
RS_NOC_OKLR
restricted
http://rightsstatements.org/vocab/NoC-OKLR/1.0/
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRelativeUrl(String portalUrl) |
String |
getRightsIcon()
Returns the url of the icon associated with the results
|
String |
getRightsText()
Return text associated with the rights
|
boolean |
getShowExternalIcon()
Returns the url of the icon associated with the results
|
String |
getUrl()
Returns the full Url associated with the rights
|
boolean |
isRelativeUrl() |
static RightsOption |
safeValueByUrl(String url) |
static RightsOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RightsOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RightsOption CC_NOC
public static final RightsOption CC_ZERO
public static final RightsOption CC_BY
public static final RightsOption CC_BY_SA
public static final RightsOption CC_BY_NC
public static final RightsOption CC_BY_NC_SA
public static final RightsOption CC_BY_NC_ND
public static final RightsOption CC_BY_ND
public static final RightsOption EU_OOC_NC
public static final RightsOption RS_INC_EDU
public static final RightsOption RS_NOC_NC
public static final RightsOption RS_NOC_OKLR
public static final RightsOption EU_RR_F
public static final RightsOption EU_RR_P
public static final RightsOption EU_RR_R
public static final RightsOption EU_U
public static final RightsOption EU_ORPHAN
public static final RightsOption RS_INC
public static final RightsOption RS_INC_OW_EU
public static final RightsOption RS_CNE
public static RightsOption[] values()
for (RightsOption c : RightsOption.values()) System.out.println(c);
public static RightsOption valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getUrl()
public String getRightsText()
public String getRightsIcon()
public boolean getShowExternalIcon()
public static RightsOption safeValueByUrl(String url)
public boolean isRelativeUrl()
Copyright © 2017 Europeana Foundation. All rights reserved.