public class DefaultEntityDataBuilder extends Object implements EntityDataBuilder
| Constructor and Description |
|---|
DefaultEntityDataBuilder() |
DefaultEntityDataBuilder(EntityData ed) |
| Modifier and Type | Method and Description |
|---|---|
EntityDataBuilder |
addAssociationElement(String name,
Object value)
Adds an association element and its value to the EntityData which will be built from this EntityDataBuilder object.
|
DefaultEntityDataBuilder |
addElement(String name,
Object value)
Adds an element and its value to the EntityData which will be built from this EntityDataBuilder object.
|
DefaultEntityDataBuilder |
addKeyElement(String name,
Object value)
Adds a key element and its value to the EntityData which will be built from this EntityDataBuilder object.
|
EntityData |
buildEntityData(String name)
Builds and returns an entityData based on the current initialized values of the EntityDataBuilder.
|
DefaultEntityDataBuilder |
removeElement(String name)
Removes an element from the EntityData which is built using this EntityDataBuilder object.
|
public DefaultEntityDataBuilder()
public DefaultEntityDataBuilder(EntityData ed)
public DefaultEntityDataBuilder addElement(String name, Object value)
EntityDataBuilderaddElement in interface EntityDataBuildername - Name of the elementvalue - Value of the elementpublic DefaultEntityDataBuilder addKeyElement(String name, Object value)
EntityDataBuilderaddKeyElement in interface EntityDataBuildername - Name of the key elementvalue - Value of the key elementpublic DefaultEntityDataBuilder removeElement(String name)
EntityDataBuilderremoveElement in interface EntityDataBuildername - Name of the elementpublic EntityData buildEntityData(String name)
EntityDataBuilderbuildEntityData in interface EntityDataBuildername - The name of the Entity that would be represented by the created EntityDatapublic EntityDataBuilder addAssociationElement(String name, Object value)
EntityDataBuilderaddAssociationElement in interface EntityDataBuildername - Name of the association elementvalue - Value of the association elementCopyright © 2020 SAP. All Rights Reserved.