Class Person
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
Person
Original entity name from the Odata EDM: Person
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PersonSelectableSelector for all available fields of Person.static final PersonField<String>Use with available fluent helpers to apply the PersonFullName field to query operations.static final PersonField<String>Use with available fluent helpers to apply the PersonId field to query operations.static final PersonField<String>Use with available fluent helpers to apply the PersonInvolvedRole field to query operations.static final PersonField<UUID>Use with available fluent helpers to apply the PersonInvolvedUUID field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) static Person.PersonBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
PersonField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PersonField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 80Constraints: Not nullable, Maximum length: 80(Key Field) Constraints: Not nullable, Maximum length: 21(Key Field) Constraints: Not nullablegetType()inthashCode()voidsetPersonFullName(String personFullName) Constraints: Not nullable, Maximum length: 80voidsetPersonId(String personId) Constraints: Not nullable, Maximum length: 80voidsetPersonInvolvedRole(String personInvolvedRole) (Key Field) Constraints: Not nullable, Maximum length: 21voidsetPersonInvolvedUUID(UUID personInvolvedUUID) (Key Field) Constraints: Not nullableprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of Person. -
PERSON_ID
Use with available fluent helpers to apply the PersonId field to query operations. -
PERSON_FULL_NAME
Use with available fluent helpers to apply the PersonFullName field to query operations. -
PERSON_INVOLVED_ROLE
Use with available fluent helpers to apply the PersonInvolvedRole field to query operations. -
PERSON_INVOLVED_UUID
Use with available fluent helpers to apply the PersonInvolvedUUID field to query operations.
-
-
Constructor Details
-
Person
public Person() -
Person
-
-
Method Details
-
getType
-
setPersonId
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: PersonId
- Parameters:
personId- Person Id
-
setPersonFullName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: PersonFullName
- Parameters:
personFullName- Person Name
-
setPersonInvolvedRole
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PersonInvolvedRole
- Parameters:
personInvolvedRole- Person Role
-
setPersonInvolvedUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PersonInvolvedUUID
- Parameters:
personInvolvedUUID- Person Global Identification
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Person>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Person>
-
fromMap
-
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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<Person>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<Person>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<Person>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Person>
-
builder
-
getPersonId
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: PersonId
- Returns:
- Person Id
-
getPersonFullName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: PersonFullName
- Returns:
- Person Name
-
getPersonInvolvedRole
(Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PersonInvolvedRole
- Returns:
- Person Role
-
getPersonInvolvedUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PersonInvolvedUUID
- Returns:
- Person Global Identification
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-