java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<Person>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ehsincidentcreate.Person

public class Person extends VdmEntity<Person>
Person

Original entity name from the Odata EDM: Person

  • Field Details

    • ALL_FIELDS

      public static final PersonSelectable ALL_FIELDS
      Selector for all available fields of Person.
    • PERSON_ID

      public static final PersonField<String> PERSON_ID
      Use with available fluent helpers to apply the PersonId field to query operations.
    • PERSON_FULL_NAME

      public static final PersonField<String> PERSON_FULL_NAME
      Use with available fluent helpers to apply the PersonFullName field to query operations.
    • PERSON_INVOLVED_ROLE

      public static final PersonField<String> PERSON_INVOLVED_ROLE
      Use with available fluent helpers to apply the PersonInvolvedRole field to query operations.
    • PERSON_INVOLVED_UUID

      public static final PersonField<UUID> PERSON_INVOLVED_UUID
      Use with available fluent helpers to apply the PersonInvolvedUUID field to query operations.
  • Constructor Details

    • Person

      public Person()
    • Person

      public Person(@Nullable String personId, @Nullable String personFullName, @Nullable String personInvolvedRole, @Nullable UUID personInvolvedUUID)
  • Method Details

    • getType

      @Nonnull public Class<Person> getType()
      Specified by:
      getType in class VdmObject<Person>
    • setPersonId

      public void setPersonId(@Nullable String personId)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: PersonId

      Parameters:
      personId - Person Id
    • setPersonFullName

      public void setPersonFullName(@Nullable String personFullName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: PersonFullName

      Parameters:
      personFullName - Person Name
    • setPersonInvolvedRole

      public void setPersonInvolvedRole(@Nullable String personInvolvedRole)
      (Key Field) Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: PersonInvolvedRole

      Parameters:
      personInvolvedRole - Person Role
    • setPersonInvolvedUUID

      public void setPersonInvolvedUUID(@Nullable UUID personInvolvedUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PersonInvolvedUUID

      Parameters:
      personInvolvedUUID - Person Global Identification
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<Person>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<Person>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<Person>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<Person>
    • field

      @Nonnull public static <T> PersonField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> PersonField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<Person>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<Person>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<Person>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<Person>
    • builder

      @Nonnull public static Person.PersonBuilder builder()
    • getPersonId

      @Nullable public String getPersonId()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: PersonId

      Returns:
      Person Id
    • getPersonFullName

      @Nullable public String getPersonFullName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: PersonFullName

      Returns:
      Person Name
    • getPersonInvolvedRole

      @Nullable public String getPersonInvolvedRole()
      (Key Field) Constraints: Not nullable, Maximum length: 21

      Original property name from the Odata EDM: PersonInvolvedRole

      Returns:
      Person Role
    • getPersonInvolvedUUID

      @Nullable public UUID getPersonInvolvedUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PersonInvolvedUUID

      Returns:
      Person Global Identification
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<Person>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<Person>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<Person>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<Person>