Questions tagged [custom-object]

202 questions
2
votes
2 answers

Large payload for Custom Objects

While I can create custom objects just fine, I am wondering how one is supposed to handle large payloads (Gigabytes) for an object. CRs are mostly used in order to interface with garbage collection/reference counting in Kubernetes. Adding the…
abergmeier
  • 13,224
  • 13
  • 64
  • 120
2
votes
1 answer

How to make a deep copy of an NSMutableArray property of a Custom Object

I have a CustomObject(of type NSObject) having an NSMutableArray property. This property contains NSDictionary objects. I need a deep copy of just the property to allow for editing in a different view controller; after editing, I desire to replace…
2
votes
3 answers

What's the best way to store custom objects in relational database?

I have my objects with their properties. Objects could change their structure: properties may be added/removed/changed. Objects could be absolutely dropped. So object's metadata (description, classes, call them like you want :) )could be…
LucID
  • 151
  • 1
  • 9
2
votes
2 answers

Why is my ObjectInputStream throwing an EOFException?

I am writing a chat room code and each message is sent back and forth between client and server constantly. I have made all the messages into serialized objects and am using them to pass the information back and forth. Unfortunately this has led to…
2
votes
1 answer

Salesforce Trigger: Update field Trigger from Custom Object

New to apex and have a question about writing triggers. Essentially, I'm trying to create a trigger that updates a given field when another field is updated (after a record is created/inserted into Salesforce). More specifically, when a custom…
user3385592
  • 23
  • 1
  • 1
  • 3
2
votes
2 answers

How to create custom objects/list of custom objects in VB.NET?

I need two seperate lists, which every item is Integer, String, Bitmap - and one which every item is Integer, String String. However I don't know how to do this, or even where to look - I've googled for custom objects and custom object lists. What…
fMinkel
  • 179
  • 2
  • 5
  • 12
2
votes
1 answer

Jquery on() click function on custom object

I am trying to create custom tab widget in Javascript and jquery. I have created the tab object but facing problem while assigning click event take a look towards code. I have attached event but it is working only on last object. Can someone suggest…
2
votes
1 answer

How to store a custom object to user defaults in objective c?

I tried converting my objects to instances of NSData, putting them in an NSArray and storing the array in user defaults. I also tried putting the objects in an NSArray, converting the array to an instance of NSData and storing it in user defaults.…
2
votes
1 answer

Quickblox upload image to custom object

I created a custom object field of type file and I tried to upload an image. I have tried both [object.fields setObject:[UIImage imageNamed:@"img.png"] forKey:@"file"]; and [object.fields setObject:UIImagePNGRepresentation([UIImage…
Alfer Kwok
  • 23
  • 4
2
votes
1 answer

How can I echo the label of a salesforce custom object on a visualforce page?

I want to access the metadata of a custom object and display the name of the custom object. This has been changed from the original and I want my page to always display the name without having to change any code or markup. A label can be accessed…
Flippsie
  • 472
  • 1
  • 7
  • 19
2
votes
0 answers

Excel VBA Save Custom Objects

I built some custom VBA objects and I would love to be able to save them in my hard drive as they are, so not put them in a database. Can't figure out how to do that. Just to make my point clear, the code I have in mind would look like something…
user2491612
2
votes
1 answer

XtraGrid binding over complex and nested objects model

I'm wondering how to solve/simplify a task that sometimes pop-ups during developement with DevExpress XtraGrid suite. Sometimes i fall into this case: Given these 2 classes that represents the model classes that comes from the Business Logic…
GiveEmTheBoot
  • 534
  • 9
  • 24
2
votes
1 answer

QAbstractTableModel retrieve custom object on data changed

I have recently picked up Qt again, and started refreshing my memory. Creating a custom data model for a table was easy enough. Now I am trying to retrieve the selected data. Take note that I use custom data objects. Example of my custom…
Joey Roosing
  • 2,145
  • 5
  • 25
  • 42
2
votes
1 answer

How to copy a custom Objective-C object?

I have a class, say the class Person. In than class I have several NSMutableArrays. @property NSMutableArray *arrayOne; @property NSMutableArray *arrayTwo; ... Now I want to copy that Class so I can return it from a function and use the copy and…
Dafen
  • 1,122
  • 1
  • 9
  • 26
2
votes
6 answers

How to serialize a custom object in NSDictionary using JSON?

I have the following code: NSDictionary *dict = [[NSDictionary alloc] initWithObjectsAndKeys:@"one", @"oneKey", @"two", @"twoKey", customObject, @"customObjectKey", nil]; if([NSJSONSerialization isValidJSONObject:dict]) { NSLog(@"Went…
1 2
3
13 14