Class DPIStandardEntity
java.lang.Object
com.sap.ai.sdk.orchestration.model.DPIStandardEntity
- All Implemented Interfaces:
DPIEntityConfig
DPIStandardEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for DPIStandardEntity. -
Method Summary
Modifier and TypeMethodDescriptionstatic DPIStandardEntity.Buildercreate()Create a type-safe, fluent-api builder object to construct a newDPIStandardEntityinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theDPIStandardEntity.Get replacementStrategygetType()Get typeinthashCode()replacementStrategy(DPIStandardEntityReplacementStrategy replacementStrategy) Set the replacementStrategy of thisDPIStandardEntityinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisDPIStandardEntityinstance.voidsetReplacementStrategy(DPIStandardEntityReplacementStrategy replacementStrategy) Set the replacementStrategy of thisDPIStandardEntityinstance.voidsetType(DPIEntities type) Set the type of thisDPIStandardEntityinstance.toMap()Get the value of all properties of thisDPIStandardEntityinstance including unrecognized properties.toString()type(DPIEntities type) Set the type of thisDPIStandardEntityinstance and return the same instance.
-
Constructor Details
-
DPIStandardEntity
protected DPIStandardEntity()Default constructor for DPIStandardEntity.
-
-
Method Details
-
type
Set the type of thisDPIStandardEntityinstance and return the same instance.- Parameters:
type- The type of thisDPIStandardEntity- Returns:
- The same instance of this
DPIStandardEntityclass
-
getType
Get type- Returns:
- type The type of this
DPIStandardEntityinstance.
-
setType
Set the type of thisDPIStandardEntityinstance.- Parameters:
type- The type of thisDPIStandardEntity
-
replacementStrategy
@Nonnull public DPIStandardEntity replacementStrategy(@Nullable DPIStandardEntityReplacementStrategy replacementStrategy) Set the replacementStrategy of thisDPIStandardEntityinstance and return the same instance.- Parameters:
replacementStrategy- The replacementStrategy of thisDPIStandardEntity- Returns:
- The same instance of this
DPIStandardEntityclass
-
getReplacementStrategy
Get replacementStrategy- Returns:
- replacementStrategy The replacementStrategy of this
DPIStandardEntityinstance.
-
setReplacementStrategy
public void setReplacementStrategy(@Nullable DPIStandardEntityReplacementStrategy replacementStrategy) Set the replacementStrategy of thisDPIStandardEntityinstance.- Parameters:
replacementStrategy- The replacementStrategy of thisDPIStandardEntity
-
getCustomFieldNames
Get the names of the unrecognizable properties of theDPIStandardEntity.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisDPIStandardEntityinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisDPIStandardEntityinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisDPIStandardEntityinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newDPIStandardEntityinstance with all required arguments.
-
toMap()instead.