Class CompanyCode
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<CompanyCode>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.CompanyCode
Company Code
Original entity name from the Odata EDM: CompanyCode
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CompanyCodeSelectableSelector for all available fields of CompanyCode.static final CompanyCodeField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CompanyCodeField<String>Use with available fluent helpers to apply the CompanyCodeText 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) builder()protected booleanbooleanstatic <T,DomainT>
CompanyCodeField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CompanyCodeField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 60protected Stringprotected StringgetKey()getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullablevoidsetCompanyCodeText(String companyCodeText) Constraints: Not nullable, Maximum length: 60protected 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 CompanyCode. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
COMPANY_CODE_TEXT
Use with available fluent helpers to apply the CompanyCodeText field to query operations.
-
-
Constructor Details
-
CompanyCode
public CompanyCode() -
CompanyCode
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CompanyCode>
-
setCompanyCode
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setCompanyCodeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CompanyCodeText
- Parameters:
companyCodeText- Company Code (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CompanyCode>
-
getKey
- Overrides:
getKeyin classVdmObject<CompanyCode>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CompanyCode>
-
fromMap
- Overrides:
fromMapin classVdmObject<CompanyCode>
-
field
@Nonnull public static <T> CompanyCodeField<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> CompanyCodeField<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<CompanyCode>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CompanyCode>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CompanyCode>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CompanyCode>
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getCompanyCodeText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CompanyCodeText
- Returns:
- Company Code (Description)
-
toString
- Overrides:
toStringin classVdmObject<CompanyCode>
-
equals
- Overrides:
equalsin classVdmEntity<CompanyCode>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CompanyCode>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CompanyCode>
-