Package com.collibra.dgc.core.api.model

# Interface Entity

All Superinterfaces:
  `Serializable`

All Known Subinterfaces:
  `Activity`, `Address`, `AppliedTrait`, `ArticulationRule`, `Asset`, `AssetAssignmentRule`, `AssetType`, `AssignedAttributeType`, `AssignedCharacteristicType`, `AssignedComplexRelationType`, `AssignedRelationType`, `Assignment`, `Attachment`, `Attribute`, `AttributeType`, `BooleanAttribute`, `BooleanAttributeType`, `Comment`, `Community`, `ComplexRelation`, `ComplexRelationAttributeType`, `ComplexRelationLeg`, `ComplexRelationLegType`, `ComplexRelationType`, `DataQualityMetric`, `DataQualityRule`, `DateAttribute`, `DateAttributeType`, `Domain`, `DomainAssignmentRule`, `DomainType`, `DropdownValue`, `Email`, `InstantMessagingAccount`, `Job`, `Mapping`, `MultiValueListAttribute`, `MultiValueListAttributeType`, `NamedDescribedResource`, `NamedResource`, `NumericAttribute`, `NumericAttributeType`, `Organization`, `PhoneNumber`, `Rating`, `Relation`, `RelationTrace`, `RelationType`, `Resource`, `Responsibility`, `Role`, `Scope`, `ScriptAttribute`, `ScriptAttributeType`, `SingleValueListAttribute`, `SingleValueListAttributeType`, `Status`, `StringAttribute`, `StringAttributeType`, `Tag`, `Trait`, `TraitAssignment`, `User`, `UserGroup`, `ValidationResult`, `View`, `ViewPermission`, `Website`, `WorkflowDefinition`, `WorkflowInstance`, `WorkflowTask`

public interface Entity extends Serializable
Represents an entity - object identified by UUID

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UUID`
  `getId()`
  Returns the id of the current entity.
  `void`
  `setId(UUID id)`
  Sets the id of the entity.

- ## Method Details

  - ### getId

    UUID getId()
    Returns the id of the current entity.
    Returns:
      the id

  - ### setId

    void setId(UUID id)
    Sets the id of the entity.
    Parameters:
      `id` - the id to set