Class Thing
java.lang.Object
net.ygbstudio.jbrave.core.domain.dto.result.thing.Thing
- Direct Known Subclasses:
ContactPoint,Organization,Person
Base type for the schema.org-style
Thing entities referenced by search results.
This sealed class models the fields common to all entity results — type,
name, url, and thumbnail — and permits exactly the subtypes
Person, Organization, and ContactPoint.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
-
Field Details
-
type
The thing type. -
name
The thing name. -
url
The thing URL. -
thumbnail
The thing thumbnail.
-
-
Method Details
-
getType
Returns the thing type.- Returns:
- the thing type
-
getName
Returns the thing name.- Returns:
- the thing name
-
getUrl
Returns the thing URL.- Returns:
- the URL
-
getThumbnail
Returns the thumbnail.- Returns:
- the thumbnail
-