Enum EntityType
- java.lang.Object
-
- java.lang.Enum<EntityType>
-
- de.digitalcollections.model.api.identifiable.entity.enums.EntityType
-
- All Implemented Interfaces:
Serializable,Comparable<EntityType>
public enum EntityType extends Enum<EntityType>
AllEntitytypes cudami can handle
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTICLEAUDIOBOOKCOLLECTIONCONTENT_TREECORPORATIONDIGITAL_OBJECTEVENTIMAGEOBJECT_3DPERSONPLACEPROJECTVIDEOWEBSITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static EntityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EntityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARTICLE
public static final EntityType ARTICLE
-
AUDIO
public static final EntityType AUDIO
-
BOOK
public static final EntityType BOOK
-
CORPORATION
public static final EntityType CORPORATION
-
COLLECTION
public static final EntityType COLLECTION
-
CONTENT_TREE
public static final EntityType CONTENT_TREE
-
DIGITAL_OBJECT
public static final EntityType DIGITAL_OBJECT
-
EVENT
public static final EntityType EVENT
-
IMAGE
public static final EntityType IMAGE
-
OBJECT_3D
public static final EntityType OBJECT_3D
-
PERSON
public static final EntityType PERSON
-
PLACE
public static final EntityType PLACE
-
PROJECT
public static final EntityType PROJECT
-
VIDEO
public static final EntityType VIDEO
-
WEBSITE
public static final EntityType WEBSITE
-
-
Method Detail
-
values
public static EntityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntityType c : EntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<EntityType>
-
-