public class ProductStructureVariant extends VdmEntity<ProductStructureVariant>
Original entity name from the Odata EDM: A_ProductStructureVariantType
Modifier and Type | Class and Description |
---|---|
static class |
ProductStructureVariant.ProductStructureVariantBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductStructureVariantSelectable |
ALL_FIELDS
Selector for all available fields of ProductStructureVariant.
|
static ProductStructureVariantField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static ProductStructureVariantField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static ProductStructureVariantField<String> |
MATERIAL_AUTHORIZATION_GROUP
Use with available fluent helpers to apply the MaterialAuthorizationGroup field to query operations.
|
static ProductStructureVariantField<String> |
PROD_STRUC_VAR_CHG_NMBR_DESCRIPTION
Use with available fluent helpers to apply the ProdStrucVarChgNmbrDescription field to query operations.
|
static ProductStructureVariantField<Boolean> |
PROD_STRUC_VAR_IS_MRKD_FOR_DELETION
Use with available fluent helpers to apply the ProdStrucVarIsMrkdForDeletion field to query operations.
|
static ProductStructureVariantField<String> |
PROD_STRUC_VARIANT_CHANGE_NUMBER
Use with available fluent helpers to apply the ProdStrucVariantChangeNumber field to query operations.
|
static ProductStructureVariantField<String> |
PROD_STRUC_VARIANT_CHG_STATE_INT_ID
Use with available fluent helpers to apply the ProdStrucVariantChgStateIntID field to query operations.
|
static ProductStructureVariantField<String> |
PROD_STRUC_VARIANT_UNIQUE_ID
Use with available fluent helpers to apply the ProdStrucVariantUniqueID field to query operations.
|
static ProductStructureVariantField<UUID> |
PROD_STRUCTURE_VARIANT_PARENT_UUID
Use with available fluent helpers to apply the ProdStructureVariantParentUUID field to query operations.
|
static ProductStructureVariantField<String> |
PRODUCT_STRUC_LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the ProductStrucLastChangedByUser field to query operations.
|
static ProductStructureVariantField<LocalDateTime> |
PRODUCT_STRUC_LAST_CHANGED_DATE
Use with available fluent helpers to apply the ProductStrucLastChangedDate field to query operations.
|
static ProductStructureVariantField<String> |
PRODUCT_STRUCTURE_CREATED_BY_USER
Use with available fluent helpers to apply the ProductStructureCreatedByUser field to query operations.
|
static ProductStructureVariantField<LocalDateTime> |
PRODUCT_STRUCTURE_CREATION_DATE
Use with available fluent helpers to apply the ProductStructureCreationDate field to query operations.
|
static ProductStructureVariantField<String> |
PRODUCT_STRUCTURE_VARIANT_NAME
Use with available fluent helpers to apply the ProductStructureVariantName field to query operations.
|
static ProductStructureVariantField<BigDecimal> |
PRODUCT_STRUCTURE_VARIANT_QTY
Use with available fluent helpers to apply the ProductStructureVariantQty field to query operations.
|
static ProductStructureVariantField<String> |
PRODUCT_STRUCTURE_VARIANT_TYPE
Use with available fluent helpers to apply the ProductStructureVariantType field to query operations.
|
static ProductStructureVariantField<String> |
PRODUCT_STRUCTURE_VARIANT_UNIT
Use with available fluent helpers to apply the ProductStructureVariantUnit field to query operations.
|
static ProductStructureVariantField<UUID> |
PRODUCT_STRUCTURE_VARIANT_UUID
Use with available fluent helpers to apply the ProductStructureVariantUUID field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductStructureVariant() |
ProductStructureVariant(UUID productStructureVariantUUID,
String prodStrucVariantChgStateIntID,
String prodStrucVariantUniqueID,
String productStructureVariantName,
UUID prodStructureVariantParentUUID,
LocalDateTime productStructureCreationDate,
String productStructureCreatedByUser,
LocalDateTime productStrucLastChangedDate,
String productStrucLastChangedByUser,
String prodStrucVariantChangeNumber,
String authorizationGroup,
Boolean prodStrucVarIsMrkdForDeletion,
String prodStrucVarChgNmbrDescription,
BigDecimal productStructureVariantQty,
String productStructureVariantUnit,
String material,
String materialAuthorizationGroup,
String productStructureVariantType) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static ProductStructureVariant.ProductStructureVariantBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductStructureVariantField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getProdStructureVariantParentUUID()
Constraints: none
|
String |
getProdStrucVarChgNmbrDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getProdStrucVariantChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getProdStrucVariantChgStateIntID()
(Key Field) Constraints: Not nullable, Maximum length: 8
|
String |
getProdStrucVariantUniqueID()
Constraints: Not nullable, Maximum length: 32
|
Boolean |
getProdStrucVarIsMrkdForDeletion()
Constraints: none
|
String |
getProductStrucLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getProductStrucLastChangedDate()
Constraints: Not nullable, Precision: 0
|
String |
getProductStructureCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getProductStructureCreationDate()
Constraints: Not nullable, Precision: 0
|
String |
getProductStructureVariantName()
Constraints: Not nullable, Maximum length: 8
|
BigDecimal |
getProductStructureVariantQty()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getProductStructureVariantType()
Constraints: Not nullable, Maximum length: 8
|
String |
getProductStructureVariantUnit()
Constraints: Not nullable, Maximum length: 3
|
UUID |
getProductStructureVariantUUID()
(Key Field) Constraints: Not nullable
|
Class<ProductStructureVariant> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialAuthorizationGroup(String materialAuthorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setProdStructureVariantParentUUID(UUID prodStructureVariantParentUUID)
Constraints: none
|
void |
setProdStrucVarChgNmbrDescription(String prodStrucVarChgNmbrDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setProdStrucVariantChangeNumber(String prodStrucVariantChangeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setProdStrucVariantChgStateIntID(String prodStrucVariantChgStateIntID)
(Key Field) Constraints: Not nullable, Maximum length: 8
|
void |
setProdStrucVariantUniqueID(String prodStrucVariantUniqueID)
Constraints: Not nullable, Maximum length: 32
|
void |
setProdStrucVarIsMrkdForDeletion(Boolean prodStrucVarIsMrkdForDeletion)
Constraints: none
|
void |
setProductStrucLastChangedByUser(String productStrucLastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setProductStrucLastChangedDate(LocalDateTime productStrucLastChangedDate)
Constraints: Not nullable, Precision: 0
|
void |
setProductStructureCreatedByUser(String productStructureCreatedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setProductStructureCreationDate(LocalDateTime productStructureCreationDate)
Constraints: Not nullable, Precision: 0
|
void |
setProductStructureVariantName(String productStructureVariantName)
Constraints: Not nullable, Maximum length: 8
|
void |
setProductStructureVariantQty(BigDecimal productStructureVariantQty)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setProductStructureVariantType(String productStructureVariantType)
Constraints: Not nullable, Maximum length: 8
|
void |
setProductStructureVariantUnit(String productStructureVariantUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setProductStructureVariantUUID(UUID productStructureVariantUUID)
(Key Field) Constraints: Not nullable
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductStructureVariantSelectable ALL_FIELDS
public static final ProductStructureVariantField<UUID> PRODUCT_STRUCTURE_VARIANT_UUID
public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_CHG_STATE_INT_ID
public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_UNIQUE_ID
public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_NAME
public static final ProductStructureVariantField<UUID> PROD_STRUCTURE_VARIANT_PARENT_UUID
public static final ProductStructureVariantField<LocalDateTime> PRODUCT_STRUCTURE_CREATION_DATE
public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_CREATED_BY_USER
public static final ProductStructureVariantField<LocalDateTime> PRODUCT_STRUC_LAST_CHANGED_DATE
public static final ProductStructureVariantField<String> PRODUCT_STRUC_LAST_CHANGED_BY_USER
public static final ProductStructureVariantField<String> PROD_STRUC_VARIANT_CHANGE_NUMBER
public static final ProductStructureVariantField<String> AUTHORIZATION_GROUP
public static final ProductStructureVariantField<Boolean> PROD_STRUC_VAR_IS_MRKD_FOR_DELETION
public static final ProductStructureVariantField<String> PROD_STRUC_VAR_CHG_NMBR_DESCRIPTION
public static final ProductStructureVariantField<BigDecimal> PRODUCT_STRUCTURE_VARIANT_QTY
public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_UNIT
public static final ProductStructureVariantField<String> MATERIAL
public static final ProductStructureVariantField<String> MATERIAL_AUTHORIZATION_GROUP
public static final ProductStructureVariantField<String> PRODUCT_STRUCTURE_VARIANT_TYPE
public ProductStructureVariant()
public ProductStructureVariant(@Nullable UUID productStructureVariantUUID, @Nullable String prodStrucVariantChgStateIntID, @Nullable String prodStrucVariantUniqueID, @Nullable String productStructureVariantName, @Nullable UUID prodStructureVariantParentUUID, @Nullable LocalDateTime productStructureCreationDate, @Nullable String productStructureCreatedByUser, @Nullable LocalDateTime productStrucLastChangedDate, @Nullable String productStrucLastChangedByUser, @Nullable String prodStrucVariantChangeNumber, @Nullable String authorizationGroup, @Nullable Boolean prodStrucVarIsMrkdForDeletion, @Nullable String prodStrucVarChgNmbrDescription, @Nullable BigDecimal productStructureVariantQty, @Nullable String productStructureVariantUnit, @Nullable String material, @Nullable String materialAuthorizationGroup, @Nullable String productStructureVariantType)
@Nonnull public Class<ProductStructureVariant> getType()
getType
in class VdmObject<ProductStructureVariant>
public void setProductStructureVariantUUID(@Nullable UUID productStructureVariantUUID)
Original property name from the Odata EDM: ProductStructureVariantUUID
productStructureVariantUUID
- Internal Number of the PVS Variantpublic void setProdStrucVariantChgStateIntID(@Nullable String prodStrucVariantChgStateIntID)
Original property name from the Odata EDM: ProdStrucVariantChgStateIntID
prodStrucVariantChgStateIntID
- Differentiates iPPE objects (such as relationship types) that link different iPPE objects but have the
same name.public void setProdStrucVariantUniqueID(@Nullable String prodStrucVariantUniqueID)
Original property name from the Odata EDM: ProdStrucVariantUniqueID
prodStrucVariantUniqueID
- The prodStrucVariantUniqueID to set.public void setProductStructureVariantName(@Nullable String productStructureVariantName)
Original property name from the Odata EDM: ProductStructureVariantName
Variants in iPPE represent the concrete forms of a node.Component variants are the concrete forms (materials) of a structure node.Color variants are the concrete forms (colors) of a color scheme.The system uses the object dependencies, which are stored at the variants, to select a particular variant.
productStructureVariantName
- Contains the name of the variant.public void setProdStructureVariantParentUUID(@Nullable UUID prodStructureVariantParentUUID)
Original property name from the Odata EDM: ProdStructureVariantParentUUID
prodStructureVariantParentUUID
- Internal Number of iPPE Nodepublic void setProductStructureCreationDate(@Nullable LocalDateTime productStructureCreationDate)
Original property name from the Odata EDM: ProductStructureCreationDate
productStructureCreationDate
- Specifies the date on which the iPPE object was created.public void setProductStructureCreatedByUser(@Nullable String productStructureCreatedByUser)
Original property name from the Odata EDM: ProductStructureCreatedByUser
productStructureCreatedByUser
- User who created recordpublic void setProductStrucLastChangedDate(@Nullable LocalDateTime productStrucLastChangedDate)
Original property name from the Odata EDM: ProductStrucLastChangedDate
productStrucLastChangedDate
- Specifies the date on which the iPPE object was last changed.public void setProductStrucLastChangedByUser(@Nullable String productStrucLastChangedByUser)
Original property name from the Odata EDM: ProductStrucLastChangedByUser
productStrucLastChangedByUser
- Specifies the user who last changed the iPPE object.public void setProdStrucVariantChangeNumber(@Nullable String prodStrucVariantChangeNumber)
Original property name from the Odata EDM: ProdStrucVariantChangeNumber
prodStrucVariantChangeNumber
- Uniquely identifies a change master record.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
Entry of an authorization group ensures that only the user that has this authorization value in his/her user profile, can use this change master record for making changes.A user whose authorization group spans an interval of 1 to 250 cannot access a change master whose authorization group contains the value 468.The authorization group is checked in the following authorization objects:C_AENR_BGR - Authorization group for change masterC_AENR_ERW - Enhanced check for change master
authorizationGroup
- Key that controls access to the change master record.public void setProdStrucVarIsMrkdForDeletion(@Nullable Boolean prodStrucVarIsMrkdForDeletion)
Original property name from the Odata EDM: ProdStrucVarIsMrkdForDeletion
prodStrucVarIsMrkdForDeletion
- The indicator is set when an iPPE object is deleted using a change number.public void setProdStrucVarChgNmbrDescription(@Nullable String prodStrucVarChgNmbrDescription)
Original property name from the Odata EDM: ProdStrucVarChgNmbrDescription
The information entered is valid for all changes that are carried out using this change number.For the change master you canEnter a long text by choosing the function Chg header long text in the Extras menu.Change or display a long text if the Indicator: Long text exists for change master was set by the system.
prodStrucVarChgNmbrDescription
- Text that describes the change number.public void setProductStructureVariantQty(@Nullable BigDecimal productStructureVariantQty)
Original property name from the Odata EDM: ProductStructureVariantQty
productStructureVariantQty
- Fixed Quantity in Variant of iPPE Product Structurepublic void setProductStructureVariantUnit(@Nullable String productStructureVariantUnit)
Original property name from the Odata EDM: ProductStructureVariantUnit
In the PVS you can enter the following units of measure for the material from the material master:Base unit of measureUnit of issueAlternative units of measure.
productStructureVariantUnit
- Specifies the unit of measurement.public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the product.public void setMaterialAuthorizationGroup(@Nullable String materialAuthorizationGroup)
Original property name from the Odata EDM: MaterialAuthorizationGroup
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
materialAuthorizationGroup
- The authorization group enables you protect access to certain objects.public void setProductStructureVariantType(@Nullable String productStructureVariantType)
Original property name from the Odata EDM: ProductStructureVariantType
You define variant types in Customizing.
productStructureVariantType
- Key that uniquely identifies a variant type. The variant type determines specific characteristics for
the variant in accordance with the application.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductStructureVariant>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductStructureVariant>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductStructureVariant>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductStructureVariant>
@Nonnull public static <T> ProductStructureVariantField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> ProductStructureVariantField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<ProductStructureVariant>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<ProductStructureVariant>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<ProductStructureVariant>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<ProductStructureVariant>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductStructureVariant.ProductStructureVariantBuilder builder()
@Nullable public UUID getProductStructureVariantUUID()
Original property name from the Odata EDM: ProductStructureVariantUUID
@Nullable public String getProdStrucVariantChgStateIntID()
Original property name from the Odata EDM: ProdStrucVariantChgStateIntID
@Nullable public String getProdStrucVariantUniqueID()
Original property name from the Odata EDM: ProdStrucVariantUniqueID
@Nullable public String getProductStructureVariantName()
Original property name from the Odata EDM: ProductStructureVariantName
Variants in iPPE represent the concrete forms of a node.Component variants are the concrete forms (materials) of a structure node.Color variants are the concrete forms (colors) of a color scheme.The system uses the object dependencies, which are stored at the variants, to select a particular variant.
@Nullable public UUID getProdStructureVariantParentUUID()
Original property name from the Odata EDM: ProdStructureVariantParentUUID
@Nullable public LocalDateTime getProductStructureCreationDate()
Original property name from the Odata EDM: ProductStructureCreationDate
@Nullable public String getProductStructureCreatedByUser()
Original property name from the Odata EDM: ProductStructureCreatedByUser
@Nullable public LocalDateTime getProductStrucLastChangedDate()
Original property name from the Odata EDM: ProductStrucLastChangedDate
@Nullable public String getProductStrucLastChangedByUser()
Original property name from the Odata EDM: ProductStrucLastChangedByUser
@Nullable public String getProdStrucVariantChangeNumber()
Original property name from the Odata EDM: ProdStrucVariantChangeNumber
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
Entry of an authorization group ensures that only the user that has this authorization value in his/her user profile, can use this change master record for making changes.A user whose authorization group spans an interval of 1 to 250 cannot access a change master whose authorization group contains the value 468.The authorization group is checked in the following authorization objects:C_AENR_BGR - Authorization group for change masterC_AENR_ERW - Enhanced check for change master
@Nullable public Boolean getProdStrucVarIsMrkdForDeletion()
Original property name from the Odata EDM: ProdStrucVarIsMrkdForDeletion
@Nullable public String getProdStrucVarChgNmbrDescription()
Original property name from the Odata EDM: ProdStrucVarChgNmbrDescription
The information entered is valid for all changes that are carried out using this change number.For the change master you canEnter a long text by choosing the function Chg header long text in the Extras menu.Change or display a long text if the Indicator: Long text exists for change master was set by the system.
@Nullable public BigDecimal getProductStructureVariantQty()
Original property name from the Odata EDM: ProductStructureVariantQty
@Nullable public String getProductStructureVariantUnit()
Original property name from the Odata EDM: ProductStructureVariantUnit
In the PVS you can enter the following units of measure for the material from the material master:Base unit of measureUnit of issueAlternative units of measure.
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getMaterialAuthorizationGroup()
Original property name from the Odata EDM: MaterialAuthorizationGroup
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
@Nullable public String getProductStructureVariantType()
Original property name from the Odata EDM: ProductStructureVariantType
You define variant types in Customizing.
@Nonnull public String toString()
toString
in class VdmObject<ProductStructureVariant>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductStructureVariant>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductStructureVariant>
public int hashCode()
hashCode
in class VdmObject<ProductStructureVariant>
Copyright © 2021 SAP SE. All rights reserved.