Questions tagged [datamodel]

According to Hoberman (2009), "A data model is a wayfinding tool for both business and IT professionals, which uses a set of symbols and text to precisely explain a subset of real information to improve communication within the organization and thereby lead to a more flexible and stable application environment.

In software engineering, the term data model is used in two related senses. In the sense covered by this article, it is a description of the objects represented by a computer system together with their properties and relationships; these are typically "real world" objects such as products, suppliers, customers, and orders. In the second sense, covered by the article database model, it means a collection of concepts and rules used in defining data models: for example the relational model uses relations and tuples, while the network model uses records, sets, and fields.

References:

584 questions
0
votes
1 answer

Shared object between multiple JInternalFrames

What's the most efficient method of implementing a shared data object between multiple JInternalFrames on a single JDesktopPane? Not sure whether to go with singleton or can I put a data object in the JDesktopPane and access from a component? I…
citronic
  • 9,868
  • 14
  • 51
  • 74
0
votes
3 answers

How to get data in ofbiz data model when just had partyID?

I'm using ofbiz framework and researching data modeling. But I'm confusing with getting data from an entity when just had partyID. When I know a partyID, I can query at party table to get Party_type_id. Then, I use this Party_type_id to query at…
ThangNguyen
  • 197
  • 1
  • 12
0
votes
1 answer

Xcode won't create NSManagedObject classes from data model

I'm starting the process of converting an app to Core Data. I built the data model and, at first, got Xcode to successfully create NSManagedObject custom classes corresponding to the entities. But then I realized the entity and class names didn't…
Henry95
  • 623
  • 6
  • 16
0
votes
2 answers

Handling alphabetic enumerated codes in a database field

I have a field in a database (whose schema I can't change) which contains a specific set of values. Let's call them H, M, and L. H stands for High, M for Medium, and L is for Low. In C# I'd like to be able to reference these values in a typesafe…
Mykroft
  • 13,077
  • 13
  • 44
  • 72
0
votes
1 answer

Having an NSManagedObject property of type of another NSManagedObject

I looked over the SO, but strangely didn't find similar question. So the question is: If i have an entity called A and an entity called B, can B object have a property of type A? NOT relationship, but a property. I surely can use relationship as a…
t0a0
  • 668
  • 1
  • 9
  • 18
0
votes
1 answer

Qlikview: Matching columns of two indirectly link tables does not work

Following is the data model of the dashboard I am facing problem in: http://blob:http://stackoverflow.com/f3e40cfe-e009-4d03-bcf5-b7b4305c18c4 Now, what i want to achieve is that in Case there is a filed named Manufacturing_Date. And in MWODefetcs…
Salik
  • 508
  • 6
  • 17
  • 35
0
votes
1 answer

Creating relationship between 2 tables in SQL

I have these 2 tables and I need to create a relationship between them so that I can import them into SSAS Tabular and run some analysis. The first table has RollingQuarter(Moving Quarter) data. The second is a basic Date table with Date as PK. Can…
user2343837
  • 1,005
  • 5
  • 20
  • 31
0
votes
0 answers

Putting logic in entity class which extends datalayer entity

I have a question regarding Layered architecture. We are drafting a layered architecture and we have decided to have a data layer, Business layer and the front with viewmodels. My question is regarding the Business layer and where to put the…
Arin
  • 632
  • 6
  • 16
0
votes
1 answer

Spring, mongodb data model advices

I'm here to get some advice about the best way of building my data model (mongodb) in my application. Let's say I will have those entities : User: A User with all the usual attributes and I need each User to have a list of followers and following.…
0
votes
1 answer

Modelling Rules on Graph in Titan DB

Vertices and edges are one aspect in graph modelling. There are others like rules. for e.g. if someone is buying apples but also bought apples in previous 1 week but not bought in competitive stores and is a customer for more than 1 year offer a 10%…
ubreddy
  • 815
  • 2
  • 8
  • 19
0
votes
2 answers

How to load source data in GroupDataModel for ListView in Blackberry 10 cascade?

Here is my line of code where I want to load source: data from xml file which is located in my device shared folder. The path of that xml file is QFile textfile("/accounts/1000/shared/documents/myData.xml"); My code is: import bb.cascades 1.0 import…
Sunil Targe
  • 7,251
  • 5
  • 49
  • 80
0
votes
1 answer

Listview with the given xml model

Hi I'm new to Blackberry 10 cascades development. I want to create a list with the below data model(which is placed in assests folder). Categories.xml
user2636874
  • 889
  • 4
  • 15
  • 36
0
votes
0 answers

MVC - Should I put this logic in my model or controller?

I have a FuelPHP application with a hierarchic user structure broken into two tiers, corporate and store. The application includes a ticketing system that allows custom fields. Custom fields can be defined at the corporate level AND/OR the store…
Ben Harold
  • 6,242
  • 6
  • 47
  • 71
0
votes
2 answers

Tool used to make Salesforce DataModel image

I was looking at the SalesForce data model. The image can be seen here below: Does anyone know what tool that was used to make this? This image was copied from http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_erd_majors.htm More…
Ryan G
  • 9,184
  • 4
  • 27
  • 27
0
votes
1 answer

Table Normalization with no Domain values

There is a debate between our ETL team and a Data Modeler on whether a table should be normalized or not, and I was hoping to get some perspective from the online community. Currently the tables are set up as such MainTable …
user2210179
  • 73
  • 1
  • 7