Serializable, Comparable<CopyrightType>public enum CopyrightType extends Enum<CopyrightType>
Copyright types.| Modifier and Type | Method | Description |
|---|---|---|
String |
getType() |
Get the
Copyright type as a string. |
static CopyrightType |
keyOf(String type) |
|
static CopyrightType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CopyrightType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyrightType C
public static final CopyrightType P
public final String type
public static CopyrightType[] values()
for (CopyrightType c : CopyrightType.values()) System.out.println(c);
public static CopyrightType 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 static CopyrightType keyOf(String type)
Copyright © 2019. All rights reserved.