public enum Licence extends Enum<Licence>
| Enum Constant and Description |
|---|
Attribution |
AttributionNoDerivs |
AttributionNonCommercial |
AttributionNonCommercialNoDerivs |
AttributionNonCommercialShareAlike |
AttributionShareAlike |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static Licence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Licence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Licence Attribution
public static final Licence AttributionShareAlike
public static final Licence AttributionNoDerivs
public static final Licence AttributionNonCommercial
public static final Licence AttributionNonCommercialShareAlike
public static final Licence AttributionNonCommercialNoDerivs
public static Licence[] values()
for (Licence c : Licence.values()) System.out.println(c);
public static Licence 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 getName()
Copyright © 2019. All Rights Reserved.