EntityType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<EntityType>
      • com.microsoft.azure.cognitiveservices.search.entitysearch.models.EntityType

public class EntityType

Defines values for EntityType.

Field Summary

Modifier and Type Field and Description
final EntityType ACTOR

Static value Actor for EntityType.

final EntityType ANIMAL

Static value Animal for EntityType.

final EntityType ARTIST

Static value Artist for EntityType.

final EntityType ATTORNEY

Static value Attorney for EntityType.

final EntityType ATTRACTION

Static value Attraction for EntityType.

final EntityType BOOK

Static value Book for EntityType.

final EntityType CAR

Static value Car for EntityType.

final EntityType CITY

Static value City for EntityType.

final EntityType COLLEGE_OR_UNIVERSITY

Static value CollegeOrUniversity for EntityType.

final EntityType COMPOSITION

Static value Composition for EntityType.

final EntityType CONTINENT

Static value Continent for EntityType.

final EntityType COUNTRY

Static value Country for EntityType.

final EntityType DRUG

Static value Drug for EntityType.

final EntityType EVENT

Static value Event for EntityType.

final EntityType FOOD

Static value Food for EntityType.

final EntityType GENERIC

Static value Generic for EntityType.

final EntityType HOTEL

Static value Hotel for EntityType.

final EntityType HOUSE

Static value House for EntityType.

final EntityType LOCAL_BUSINESS

Static value LocalBusiness for EntityType.

final EntityType LOCALITY

Static value Locality for EntityType.

final EntityType MEDIA

Static value Media for EntityType.

final EntityType MINOR_REGION

Static value MinorRegion for EntityType.

final EntityType MOVIE

Static value Movie for EntityType.

final EntityType MUSIC_ALBUM

Static value MusicAlbum for EntityType.

final EntityType MUSIC_GROUP

Static value MusicGroup for EntityType.

final EntityType MUSIC_RECORDING

Static value MusicRecording for EntityType.

final EntityType NEIGHBORHOOD

Static value Neighborhood for EntityType.

final EntityType ORGANIZATION

Static value Organization for EntityType.

final EntityType OTHER

Static value Other for EntityType.

final EntityType PERSON

Static value Person for EntityType.

final EntityType PLACE

Static value Place for EntityType.

final EntityType POINT_OF_INTEREST

Static value PointOfInterest for EntityType.

final EntityType POSTAL_CODE

Static value PostalCode for EntityType.

final EntityType PRODUCT

Static value Product for EntityType.

final EntityType RADIO_STATION

Static value RadioStation for EntityType.

final EntityType REGION

Static value Region for EntityType.

final EntityType RESTAURANT

Static value Restaurant for EntityType.

final EntityType SCHOOL

Static value School for EntityType.

final EntityType SPECIALITY

Static value Speciality for EntityType.

final EntityType SPORTS_TEAM

Static value SportsTeam for EntityType.

final EntityType STATE

Static value State for EntityType.

final EntityType STREET_ADDRESS

Static value StreetAddress for EntityType.

final EntityType SUB_REGION

Static value SubRegion for EntityType.

final EntityType TELEVISION_SEASON

Static value TelevisionSeason for EntityType.

final EntityType TELEVISION_SHOW

Static value TelevisionShow for EntityType.

final EntityType THEATER_PLAY

Static value TheaterPlay for EntityType.

final EntityType TOURIST_ATTRACTION

Static value TouristAttraction for EntityType.

final EntityType TRAVEL

Static value Travel for EntityType.

final EntityType VIDEO_GAME

Static value VideoGame for EntityType.

Method Summary

Modifier and Type Method and Description
EntityType fromString(String name)

Creates or finds a EntityType from its string representation.

Collection<EntityType> values()

Field Details

ACTOR

public static final EntityType ACTOR= fromString("Actor")

Static value Actor for EntityType.

ANIMAL

public static final EntityType ANIMAL= fromString("Animal")

Static value Animal for EntityType.

ARTIST

public static final EntityType ARTIST= fromString("Artist")

Static value Artist for EntityType.

ATTORNEY

public static final EntityType ATTORNEY= fromString("Attorney")

Static value Attorney for EntityType.

ATTRACTION

public static final EntityType ATTRACTION= fromString("Attraction")

Static value Attraction for EntityType.

BOOK

public static final EntityType BOOK= fromString("Book")

Static value Book for EntityType.

CAR

public static final EntityType CAR= fromString("Car")

Static value Car for EntityType.

CITY

public static final EntityType CITY= fromString("City")

Static value City for EntityType.

COLLEGE_OR_UNIVERSITY

public static final EntityType COLLEGE_OR_UNIVERSITY= fromString("CollegeOrUniversity")

Static value CollegeOrUniversity for EntityType.

COMPOSITION

public static final EntityType COMPOSITION= fromString("Composition")

Static value Composition for EntityType.

CONTINENT

public static final EntityType CONTINENT= fromString("Continent")

Static value Continent for EntityType.

COUNTRY

public static final EntityType COUNTRY= fromString("Country")

Static value Country for EntityType.

DRUG

public static final EntityType DRUG= fromString("Drug")

Static value Drug for EntityType.

EVENT

public static final EntityType EVENT= fromString("Event")

Static value Event for EntityType.

FOOD

public static final EntityType FOOD= fromString("Food")

Static value Food for EntityType.

GENERIC

public static final EntityType GENERIC= fromString("Generic")

Static value Generic for EntityType.

HOTEL

public static final EntityType HOTEL= fromString("Hotel")

Static value Hotel for EntityType.

HOUSE

public static final EntityType HOUSE= fromString("House")

Static value House for EntityType.

LOCAL_BUSINESS

public static final EntityType LOCAL_BUSINESS= fromString("LocalBusiness")

Static value LocalBusiness for EntityType.

LOCALITY

public static final EntityType LOCALITY= fromString("Locality")

Static value Locality for EntityType.

MEDIA

public static final EntityType MEDIA= fromString("Media")

Static value Media for EntityType.

MINOR_REGION

public static final EntityType MINOR_REGION= fromString("MinorRegion")

Static value MinorRegion for EntityType.

MOVIE

public static final EntityType MOVIE= fromString("Movie")

Static value Movie for EntityType.

MUSIC_ALBUM

public static final EntityType MUSIC_ALBUM= fromString("MusicAlbum")

Static value MusicAlbum for EntityType.

MUSIC_GROUP

public static final EntityType MUSIC_GROUP= fromString("MusicGroup")

Static value MusicGroup for EntityType.

MUSIC_RECORDING

public static final EntityType MUSIC_RECORDING= fromString("MusicRecording")

Static value MusicRecording for EntityType.

NEIGHBORHOOD

public static final EntityType NEIGHBORHOOD= fromString("Neighborhood")

Static value Neighborhood for EntityType.

ORGANIZATION

public static final EntityType ORGANIZATION= fromString("Organization")

Static value Organization for EntityType.

OTHER

public static final EntityType OTHER= fromString("Other")

Static value Other for EntityType.

PERSON

public static final EntityType PERSON= fromString("Person")

Static value Person for EntityType.

PLACE

public static final EntityType PLACE= fromString("Place")

Static value Place for EntityType.

POINT_OF_INTEREST

public static final EntityType POINT_OF_INTEREST= fromString("PointOfInterest")

Static value PointOfInterest for EntityType.

POSTAL_CODE

public static final EntityType POSTAL_CODE= fromString("PostalCode")

Static value PostalCode for EntityType.

PRODUCT

public static final EntityType PRODUCT= fromString("Product")

Static value Product for EntityType.

RADIO_STATION

public static final EntityType RADIO_STATION= fromString("RadioStation")

Static value RadioStation for EntityType.

REGION

public static final EntityType REGION= fromString("Region")

Static value Region for EntityType.

RESTAURANT

public static final EntityType RESTAURANT= fromString("Restaurant")

Static value Restaurant for EntityType.

SCHOOL

public static final EntityType SCHOOL= fromString("School")

Static value School for EntityType.

SPECIALITY

public static final EntityType SPECIALITY= fromString("Speciality")

Static value Speciality for EntityType.

SPORTS_TEAM

public static final EntityType SPORTS_TEAM= fromString("SportsTeam")

Static value SportsTeam for EntityType.

STATE

public static final EntityType STATE= fromString("State")

Static value State for EntityType.

STREET_ADDRESS

public static final EntityType STREET_ADDRESS= fromString("StreetAddress")

Static value StreetAddress for EntityType.

SUB_REGION

public static final EntityType SUB_REGION= fromString("SubRegion")

Static value SubRegion for EntityType.

TELEVISION_SEASON

public static final EntityType TELEVISION_SEASON= fromString("TelevisionSeason")

Static value TelevisionSeason for EntityType.

TELEVISION_SHOW

public static final EntityType TELEVISION_SHOW= fromString("TelevisionShow")

Static value TelevisionShow for EntityType.

THEATER_PLAY

public static final EntityType THEATER_PLAY= fromString("TheaterPlay")

Static value TheaterPlay for EntityType.

TOURIST_ATTRACTION

public static final EntityType TOURIST_ATTRACTION= fromString("TouristAttraction")

Static value TouristAttraction for EntityType.

TRAVEL

public static final EntityType TRAVEL= fromString("Travel")

Static value Travel for EntityType.

VIDEO_GAME

public static final EntityType VIDEO_GAME= fromString("VideoGame")

Static value VideoGame for EntityType.

Method Details

fromString

public static EntityType fromString(String name)

Creates or finds a EntityType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding EntityType

values

public static Collection values()

Returns:

known EntityType values

Applies to