Enum EntityType
- java.lang.Object
-
- java.lang.Enum<EntityType>
-
- de.digitalcollections.model.identifiable.entity.EntityType
-
- All Implemented Interfaces:
Serializable,Comparable<EntityType>
public enum EntityType extends Enum<EntityType>
All entity types cudami can handle
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENTARTICLEAUDIOBOOKCOLLECTIONCORPORATE_BODYDIGITAL_OBJECTENTITYEVENTEXPRESSIONFAMILYGEOLOCATIONIMAGEITEMMANIFESTATIONOBJECT_3DPERSONPLACEPROJECTTOPICVIDEOWEBSITEWORK
-
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
-
AGENT
public static final EntityType AGENT
-
ARTICLE
public static final EntityType ARTICLE
-
AUDIO
public static final EntityType AUDIO
-
BOOK
public static final EntityType BOOK
-
COLLECTION
public static final EntityType COLLECTION
-
CORPORATE_BODY
public static final EntityType CORPORATE_BODY
-
DIGITAL_OBJECT
public static final EntityType DIGITAL_OBJECT
-
ENTITY
public static final EntityType ENTITY
-
EVENT
public static final EntityType EVENT
-
EXPRESSION
public static final EntityType EXPRESSION
-
FAMILY
public static final EntityType FAMILY
-
GEOLOCATION
public static final EntityType GEOLOCATION
-
IMAGE
public static final EntityType IMAGE
-
ITEM
public static final EntityType ITEM
-
MANIFESTATION
public static final EntityType MANIFESTATION
-
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
-
TOPIC
public static final EntityType TOPIC
-
VIDEO
public static final EntityType VIDEO
-
WEBSITE
public static final EntityType WEBSITE
-
WORK
public static final EntityType WORK
-
-
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>
-
-