Class GenericEntity
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datalabelingservicedataplane.model.Entity
- 
- com.oracle.bmc.datalabelingservicedataplane.model.GenericEntity
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class GenericEntity extends EntityThis is an extensible entity type for users, and the base entity type for some annotation formats.
 Note: Objects should always be created or deserialized using theGenericEntity.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theGenericEntity.Builder, which maintain a set of all explicitly set fields calledGenericEntity.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGenericEntity.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.datalabelingservicedataplane.model.EntityEntity.EntityType
 
- 
 - 
Constructor SummaryConstructors Constructor Description GenericEntity(DocumentEntityMetadata documentEntityMetadata, List<Label> labels, Map<String,String> extendedMetadata)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericEntity.Builderbuilder()Create a new builder.booleanequals(Object o)DocumentEntityMetadatagetDocumentEntityMetadata()Map<String,String>getExtendedMetadata()A simple key-value pair that is applied without any predefined name, type, or scope.List<Label>getLabels()A collection of label entities.inthashCode()GenericEntity.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
GenericEntity@Deprecated public GenericEntity(DocumentEntityMetadata documentEntityMetadata, List<Label> labels, Map<String,String> extendedMetadata) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static GenericEntity.Builder builder() Create a new builder.
 - 
toBuilderpublic GenericEntity.Builder toBuilder() 
 - 
getDocumentEntityMetadatapublic DocumentEntityMetadata getDocumentEntityMetadata() 
 - 
getExtendedMetadatapublic Map<String,String> getExtendedMetadata() A simple key-value pair that is applied without any predefined name, type, or scope.It exists for cross-compatibility only. For example: {“bar-key”: “value”} - Returns:
- the value
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.
 
- 
 
-