Class BearerGroup
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: BearerGroup_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BearerGroup instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<BearerGroup>Selector for all available fields of BearerGroup.static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.Date<BearerGroup>static final SimpleProperty.Date<BearerGroup>static final SimpleProperty.NumericDecimal<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final SimpleProperty.String<BearerGroup>static final NavigationProperty.Collection<BearerGroup,Bearer> Use with available request builders to apply the _PRAMaintBearerHierNode navigation property to query operations.static final NavigationProperty.Single<BearerGroup,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
ConstructorsConstructorDescriptionBearerGroup(String companyCode, String pRAJointVenture, String divisionOfInterest, String pRABearerGroup, LocalDate pRABearerGroupEffctvFrmDte, LocalDate pRABearerGroupEffctvToDte, String pRABearerGroupUseControlNmbr, BigDecimal pRABearerGroupTotalIntrstPct, String pRABearerGroupType, String companyCodeName, String divisionOfInterestName, String pRABearerGroupTypeText, List<Bearer> to_PRAMaintBearerHierNode, DOI to_PRAMaintDOIHierNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPRAMaintBearerHierNode(Bearer... entity) Adds elements to the list of associated Bearer entities.builder()protected booleanbooleanprotected void(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 25protected String(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 30protected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullableConstraints: NullableConstraints: Not nullable, Precision: 9, Scale: 8Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 6Retrieval of associated Bearer entities (one to many).io.vavr.control.Option<DOI>Retrieval of associated DOI entity (one to one).getType()inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCompanyCodeName(String companyCodeName) Constraints: Not nullable, Maximum length: 25voidsetDivisionOfInterest(String divisionOfInterest) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetDivisionOfInterestName(String divisionOfInterestName) Constraints: Not nullable, Maximum length: 30voidsetPRABearerGroup(String pRABearerGroup) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPRABearerGroupEffctvFrmDte(LocalDate pRABearerGroupEffctvFrmDte) (Key Field) Constraints: Not nullablevoidsetPRABearerGroupEffctvToDte(LocalDate pRABearerGroupEffctvToDte) Constraints: NullablevoidsetPRABearerGroupTotalIntrstPct(BigDecimal pRABearerGroupTotalIntrstPct) Constraints: Not nullable, Precision: 9, Scale: 8voidsetPRABearerGroupType(String pRABearerGroupType) Constraints: Not nullable, Maximum length: 1voidsetPRABearerGroupTypeText(String pRABearerGroupTypeText) Constraints: Not nullable, Maximum length: 15voidsetPRABearerGroupUseControlNmbr(String pRABearerGroupUseControlNmbr) Constraints: Not nullable, Maximum length: 12voidsetPRAJointVenture(String pRAJointVenture) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetPRAMaintBearerHierNode(List<Bearer> value) Overwrites the list of associated Bearer entities for the loaded navigation property _PRAMaintBearerHierNode.voidsetPRAMaintDOIHierNode(DOI value) Overwrites the associated DOI entity for the loaded navigation property _PRAMaintDOIHierNode.toString()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 BearerGroup. -
COMPANY_CODE
-
PRA_JOINT_VENTURE
-
DIVISION_OF_INTEREST
-
PRA_BEARER_GROUP
-
PRA_BEARER_GROUP_EFFCTV_FRM_DTE
-
PRA_BEARER_GROUP_EFFCTV_TO_DTE
-
PRA_BEARER_GROUP_USE_CONTROL_NMBR
-
PRA_BEARER_GROUP_TOTAL_INTRST_PCT
-
PRA_BEARER_GROUP_TYPE
-
COMPANY_CODE_NAME
-
DIVISION_OF_INTEREST_NAME
-
PRA_BEARER_GROUP_TYPE_TEXT
-
TO__P_R_A_MAINT_BEARER_HIER_NODE
public static final NavigationProperty.Collection<BearerGroup,Bearer> TO__P_R_A_MAINT_BEARER_HIER_NODEUse with available request builders to apply the _PRAMaintBearerHierNode 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
-
BearerGroup
public BearerGroup() -
BearerGroup
public BearerGroup(@Nullable String companyCode, @Nullable String pRAJointVenture, @Nullable String divisionOfInterest, @Nullable String pRABearerGroup, @Nullable LocalDate pRABearerGroupEffctvFrmDte, @Nullable LocalDate pRABearerGroupEffctvToDte, @Nullable String pRABearerGroupUseControlNmbr, @Nullable BigDecimal pRABearerGroupTotalIntrstPct, @Nullable String pRABearerGroupType, @Nullable String companyCodeName, @Nullable String divisionOfInterestName, @Nullable String pRABearerGroupTypeText, List<Bearer> to_PRAMaintBearerHierNode, @Nullable DOI to_PRAMaintDOIHierNode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BearerGroup>
-
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
-
setPRABearerGroupEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRABearerGroupEffctvToDte
- Parameters:
pRABearerGroupEffctvToDte- Effective To Date
-
setPRABearerGroupUseControlNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRABearerGroupUseControlNmbr
- Parameters:
pRABearerGroupUseControlNmbr- Bearer Group Use Control
-
setPRABearerGroupTotalIntrstPct
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRABearerGroupTotalIntrstPct
- Parameters:
pRABearerGroupTotalIntrstPct- Total Bearer Group Interest
-
setPRABearerGroupType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRABearerGroupType
- Parameters:
pRABearerGroupType- Bearer Group Type Code
-
setCompanyCodeName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CompanyCodeName
- Parameters:
companyCodeName- Name of Company Code or Company
-
setDivisionOfInterestName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DivisionOfInterestName
- Parameters:
divisionOfInterestName- Division of Interest Name
-
setPRABearerGroupTypeText
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: PRABearerGroupTypeText
- Parameters:
pRABearerGroupTypeText- Bearer Group Type Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BearerGroup>
-
getKey
- Overrides:
getKeyin classVdmObject<BearerGroup>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BearerGroup>
-
fromMap
- Overrides:
fromMapin classVdmObject<BearerGroup>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BearerGroup>
-
getPRAMaintBearerHierNodeIfPresent
Retrieval of associated Bearer entities (one to many). This corresponds to the OData navigation property _PRAMaintBearerHierNode.If the navigation property for an entity BearerGroup 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 _PRAMaintBearerHierNode is already loaded, the result
will contain the Bearer entities. If not, an
Optionwith result stateemptyis returned.
-
setPRAMaintBearerHierNode
Overwrites the list of associated Bearer entities for the loaded navigation property _PRAMaintBearerHierNode.If the navigation property _PRAMaintBearerHierNode of a queried BearerGroup is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of Bearer entities.
-
addPRAMaintBearerHierNode
Adds elements to the list of associated Bearer entities. This corresponds to the OData navigation property _PRAMaintBearerHierNode.If the navigation property _PRAMaintBearerHierNode of a queried BearerGroup is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of Bearer entities.
-
getPRAMaintDOIHierNodeIfPresent
Retrieval of associated DOI entity (one to one). This corresponds to the OData navigation property _PRAMaintDOIHierNode.If the navigation property for an entity BearerGroup 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
-
getPRABearerGroupEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRABearerGroupEffctvToDte
- Returns:
- Effective To Date
-
getPRABearerGroupUseControlNmbr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRABearerGroupUseControlNmbr
- Returns:
- Bearer Group Use Control
-
getPRABearerGroupTotalIntrstPct
Constraints: Not nullable, Precision: 9, Scale: 8Original property name from the Odata EDM: PRABearerGroupTotalIntrstPct
- Returns:
- Total Bearer Group Interest
-
getPRABearerGroupType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PRABearerGroupType
- Returns:
- Bearer Group Type Code
-
getCompanyCodeName
Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: CompanyCodeName
- Returns:
- Name of Company Code or Company
-
getDivisionOfInterestName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: DivisionOfInterestName
- Returns:
- Division of Interest Name
-
getPRABearerGroupTypeText
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: PRABearerGroupTypeText
- Returns:
- Bearer Group Type Description
-
toString
- Overrides:
toStringin classVdmObject<BearerGroup>
-
equals
- Overrides:
equalsin classVdmEntity<BearerGroup>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BearerGroup>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BearerGroup>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<BearerGroup>
-