Class Bearer
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: Bearer_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Bearer instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<Bearer>Selector for all available fields of Bearer.static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.NumericDecimal<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.Date<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final SimpleProperty.String<Bearer>static final NavigationProperty.Single<Bearer,BearerGroup> Use with available request builders to apply the _PRAMaintBearerGroupHierNode navigation property to query operations.static final NavigationProperty.Single<Bearer,DOI> Use with available request builders to apply the _PRAMaintDOIHierNode navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionBearer()Bearer(String companyCode, String pRAJointVenture, String divisionOfInterest, String pRABearerGroup, LocalDate pRABearerGroupEffctvFrmDte, String pRABearerGroupUseControlNmbr, String pRAOwner, String ownerInterestType, String ownerInterestSequence, BigDecimal ownerBearerPercent, String ownerName, BearerGroup to_PRAMaintBearerGroupHierNode, DOI to_PRAMaintDOIHierNode) -
Method Summary
Modifier and TypeMethodDescriptionstatic Bearer.BearerBuilderbuilder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4protected String(Key Field) Constraints: Not nullable, Maximum length: 5protected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 9, Scale: 8(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 80(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 6io.vavr.control.Option<BearerGroup>Retrieval of associated BearerGroup entity (one to one).io.vavr.control.Option<DOI>Retrieval of associated DOI entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetDivisionOfInterest(String divisionOfInterest) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetOwnerBearerPercent(BigDecimal ownerBearerPercent) Constraints: Not nullable, Precision: 9, Scale: 8voidsetOwnerInterestSequence(String ownerInterestSequence) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetOwnerInterestType(String ownerInterestType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetOwnerName(String ownerName) Constraints: Not nullable, Maximum length: 80voidsetPRABearerGroup(String pRABearerGroup) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPRABearerGroupEffctvFrmDte(LocalDate pRABearerGroupEffctvFrmDte) (Key Field) Constraints: Not nullablevoidsetPRABearerGroupUseControlNmbr(String pRABearerGroupUseControlNmbr) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetPRAJointVenture(String pRAJointVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidOverwrites the associated BearerGroup entity for the loaded navigation property _PRAMaintBearerGroupHierNode.voidsetPRAMaintDOIHierNode(DOI value) Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.voidsetPRAOwner(String pRAOwner) (Key Field) Constraints: Not nullable, Maximum length: 10toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of Bearer. -
COMPANY_CODE
-
PRA_JOINT_VENTURE
-
DIVISION_OF_INTEREST
-
PRA_BEARER_GROUP
-
PRA_BEARER_GROUP_EFFCTV_FRM_DTE
-
PRA_BEARER_GROUP_USE_CONTROL_NMBR
-
PRA_OWNER
-
OWNER_INTEREST_TYPE
-
OWNER_INTEREST_SEQUENCE
-
OWNER_BEARER_PERCENT
-
OWNER_NAME
-
TO__P_R_A_MAINT_BEARER_GROUP_HIER_NODE
public static final NavigationProperty.Single<Bearer,BearerGroup> TO__P_R_A_MAINT_BEARER_GROUP_HIER_NODEUse with available request builders to apply the _PRAMaintBearerGroupHierNode navigation property to query operations. -
TO__P_R_A_MAINT_DOI_HIER_NODE
Use with available request builders to apply the _PRAMaintDOIHierNode navigation property to query operations.
-
-
Constructor Details
-
Bearer
public Bearer() -
Bearer
public Bearer(@Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRABearerGroup, @Nullable LocalDate pRABearerGroupEffctvFrmDte, @Nullable String pRABearerGroupUseControlNmbr, @Nullable String pRAOwner, @Nullable String ownerInterestType, @Nullable String ownerInterestSequence, @Nullable BigDecimal ownerBearerPercent, @Nullable String ownerName, @Nullable BearerGroup to_PRAMaintBearerGroupHierNode, @Nullable DOI to_PRAMaintDOIHierNode)
-
-
Method Details
-
getType
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setPRAJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAJointVenture
- Parameters:
pRAJointVenture- Joint Venture
-
setDivisionOfInterest
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Parameters:
divisionOfInterest- Division of Interest (DOI)
-
setPRABearerGroup
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRABearerGroup
- Parameters:
pRABearerGroup- Bearer Group Number
-
setPRABearerGroupEffctvFrmDte
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PRABearerGroupEffctvFrmDte
- Parameters:
pRABearerGroupEffctvFrmDte- Effective from date
-
setPRABearerGroupUseControlNmbr
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRABearerGroupUseControlNmbr
- Parameters:
pRABearerGroupUseControlNmbr- Bearer Group Use Control
-
setPRAOwner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAOwner
- Parameters:
pRAOwner- PRA owner
-
setOwnerInterestType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestType
- Parameters:
ownerInterestType- Participant Interest Type
-
setOwnerInterestSequence
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestSequence
- Parameters:
ownerInterestSequence- Owner Interest Sequence Number
-
setOwnerBearerPercent
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: OwnerBearerPercent
- Parameters:
ownerBearerPercent- Bearer Decimal
-
setOwnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: OwnerName
- Parameters:
ownerName- Name of Owner
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Bearer>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Bearer>
-
fromMap
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Bearer>
-
getPRAMaintBearerGroupHierNodeIfPresent
Retrieval of associated BearerGroup entity (one to one). This corresponds to the OData navigation property _PRAMaintBearerGroupHierNode.If the navigation property for an entity Bearer has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _PRAMaintBearerGroupHierNode is already loaded, the
result will contain the BearerGroup entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintBearerGroupHierNode
Overwrites the associated BearerGroup entity for the loaded navigation property _PRAMaintBearerGroupHierNode.- Parameters:
value- New BearerGroup entity.
-
getPRAMaintDOIHierNodeIfPresent
Retrieval of associated DOI entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIHierNode.If the navigation property for an entity Bearer has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _PRAMaintDOIHierNode is already loaded, the result will
contain the DOI entity. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintDOIHierNode
Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.- Parameters:
value- New DOI entity.
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getPRAJointVenture
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PRAJointVenture
- Returns:
- Joint Venture
-
getDivisionOfInterest
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: DivisionOfInterest
- Returns:
- Division of Interest (DOI)
-
getPRABearerGroup
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: PRABearerGroup
- Returns:
- Bearer Group Number
-
getPRABearerGroupEffctvFrmDte
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: PRABearerGroupEffctvFrmDte
- Returns:
- Effective from date
-
getPRABearerGroupUseControlNmbr
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRABearerGroupUseControlNmbr
- Returns:
- Bearer Group Use Control
-
getPRAOwner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PRAOwner
- Returns:
- PRA owner
-
getOwnerInterestType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestType
- Returns:
- Participant Interest Type
-
getOwnerInterestSequence
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: OwnerInterestSequence
- Returns:
- Owner Interest Sequence Number
-
getOwnerBearerPercent
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: OwnerBearerPercent
- Returns:
- Bearer Decimal
-
getOwnerName
Constraints: Not nullable, Maximum length: 80Original property name from the Odata EDM: OwnerName
- Returns:
- Name of Owner
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getOdataType
- Specified by:
getOdataTypein classVdmObject<Bearer>
-