Questions tagged [mapping]

Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)

In this context, mapping refers to the process of creating data element mappings between two distinct data models (objects).

When it refers to mapping in data integration, it is a set of source and target definitions linked by the transformation objects that define the rules for data transformation. Mappings represent the data flow between sources and targets.

Data mapping is typically used as a first step for a wide variety of data integration tasks such as:

  1. Data transformation or data mediation between a data source and a destination

  2. Identification of data relationships as part of data lineage analysis

  3. Replication of data between two entities with different key-value assignments

  4. Discovery of hidden sensitive data such as the last four digits social security number hidden in another user id as part of a data masking or de-identification project

  5. Consolidation of multiple databases into a single data base and identifying redundant columns of data for consolidation or elimination.

9739 questions
15
votes
6 answers

Extracting Property Names For Reflection, with Intellisense and Compile-Time Checking

Ok. So I have some code that maps certain controls on a winForm to certain properties in an object, in order to do certain things to the controls when certain things happen to the data. All well and good, works fine. Not the problem. The issue…
GWLlosa
  • 23,995
  • 17
  • 79
  • 116
15
votes
3 answers

Difference between servlet/servlet-mapping and filter/filter-mapping?

As part of exploring/learning Struts2, JSP and Servlets, I see from here and there that servlets and servlets-mapping can be used in web.xml. However, Struts2 mentions filters and filter-mapping too for web.xml. What is the difference between both?…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
15
votes
1 answer

RDF / Graph to Object Mapping Framework

Has anyone used, implemented, knows or just have heard of any graph (especially RDF) to object mapping frameworks for java. We are evaluating frameworks at the moment. So far we have: KMS JenaBean Alibaba Elmo Tinkerpop Stack - Especially…
Thomas Fritz
  • 1,285
  • 9
  • 12
15
votes
5 answers

HTML 5 / Javascript flowchart tools / prezi style?

Does anyone know if there is sort of an open-source Prezi tool that works with HTML5 / javascript? I'm looking for a way to set up a flow-chart diagram and then have the browser window focus on different parts of it. Rotation and cool effects not…
cwd
  • 53,018
  • 53
  • 161
  • 198
15
votes
2 answers

I want to add a new segmentId (with the same name) into my mapping array but with a different elementId but same method

Below is the MapperInterface.php I'm trying to figure out how to add an if-else statement into the const. mapping array. Something like so: if (LIN02 == “VN”) o Treat LIN03 as the SKU · else if (LIN04 == “VN”) o Treat LIN05 as the…
Singleton
  • 85
  • 2
  • 5
  • 16
15
votes
1 answer

AutoMapper: Why is UseValue only executed once

Why is UseValue only executed once? I need to call the TeamRepository for each request. How can I achieve this? Mapping from TeamEmployee to TeamEmployeeInput: CreateMap() .ForMember(x => x.Teams, x =>…
Rookian
  • 19,841
  • 28
  • 110
  • 180
15
votes
3 answers

Spring Controller to handle all requests not matched by other Controllers

I have a series of Controllers with Request Mappings that match certain URL's. I also want a Controller that will match any other URL not matched by the other Controllers. Is there a way to do this in Spring MVC? For example, could i have a…
rurounisuikoden
  • 269
  • 1
  • 4
  • 16
15
votes
1 answer

Symfony: how to verify doctrine entities mapping consistency

Navigating my app built with Symfony I discovered some mappings of some entities are inconsistent. The Symfony Profiler tells me this: AppBundle\Entity\Email The mappings AppBundle\Entity\Email#forCustomer and AppBundle\Entity\Customer#emails…
Aerendir
  • 6,152
  • 9
  • 55
  • 108
15
votes
2 answers

Pulsating Leaflet marker using CSS3 animations

I want to create a custom pulsating map marker icon on a Leaflet map. For learning purposes I don't want to use third party plugins. I am using the following CSS code for creating the 'pulsating'-animation: .gps_ring { border: 3px solid #999; …
Christian Junk
  • 1,000
  • 1
  • 8
  • 22
15
votes
3 answers

Why does AutoMapper have an IValueFormatter when it has a seemingly much more powerful ValueResolver?

It looks like an IValueFormatter takes a value of type object and returns a value of type string, while a ValueResolver takes a value of any type and returns a value of any type. So, it's more flexible. There is also the…
devuxer
  • 41,681
  • 47
  • 180
  • 292
15
votes
6 answers

BeanUtils copyProperties API to ignore null and specific propertie

Spring's BeanUtils.copyProperties() provides option to ignore specific properties while copying beans: public static void copyProperties(Object source, Object target, String[] ignoreProperties) throws…
Arun
  • 311
  • 3
  • 7
  • 15
15
votes
2 answers

How to manually map Enum fields in JAX-RS

How can I map a simple JSON object {"status" : "successful"} automaticly map to my Java Enum within JAX-RS? public enum Status { SUCESSFUL ("successful"), ERROR ("error"); private String status; private Status(String status) { …
Tobias Sarnow
  • 1,076
  • 2
  • 12
  • 40
15
votes
1 answer

How can I map multiple contexts to the same war file in Tomcat?

I'm using tomcat to deploy my applications, I would like to deploy as one single war to should server multiple context paths. Currently I have app1.war and app2.war, but both has same contents only name is different to access via http:///app1 and…
Selvakumar Ponnusamy
  • 5,363
  • 7
  • 40
  • 78
15
votes
4 answers

What JavaScript object to object mapping libraries exist?

I'm currently working on a big JavaScript project and I'm struggling with mapping incomming JSON data (from the backend) to my own JavaScript objects. I am using the Knockout JavaScript MVVM framework and although it includes a mapping plugin, it…
thomaux
  • 19,133
  • 10
  • 76
  • 103
14
votes
3 answers

Using stream API to set strings all lowercase but capitalize first letter

I have a List and through only using the stream API I was settings all strings to lowercase, sorting them from smallest string to largest and printing them. The issue I'm having is capitalizing the first letter of the string. Is that…
Devin
  • 277
  • 2
  • 15