Discussions Search    Reviews    Search Aid    Buzzzz    Google@Omgili    Q&A    Health    Categories Add to iGoogle   Bookmark and Share  

Refine the results by clicking on a Category

Questions and Answers
 
Results 1 - 10 of about 279 about enums  

How do I persist enums with DPL?   Asked on: 24 Oct 2008
Hello All, I am writing a BDB application using the Java API hitting the C version of BDB on linux. I want to persist an entity with an enum, but keep getting errors. With: @Entity public class AuditedEvent { @PrimaryKey private String id; @SecondaryKey(relate=Relationship.MANY_TO_ONE) private String docId; @SecondaryKey(relate=Relationship.MANY_TO_ONE) private Action action; private Map<Date, String> times=new HashMap<Date, String>(); //...some getters and setters public enum Action...
forums.oracle.com/forums/thread.jspa?threadID=... - At least 5 Posts - Only this forum

Summing and Enums -- another solution?   Asked on: 17 Jun 2008
Hello everyone - I have an online survey where users answer questions. To store the survey data, I have two tables: Surveys and SurveyQuestions, in a parent/child relationship. Surveys contain the date and other information for the survey, and then SurveyQuestions store the questions and answers for each survey. The questions are in the format of 1-5, some of which have a possible 'N/A' answer. So the range of acceptable values are 1, 2, 3,4,5 and 'N/ A'. I made an enum column `answer` with thos...
www.httppoint.com/showthread.php?t=36455&mode=... - At least 3 Posts - Only this forum

How to change the enum scroll bar width?   Asked on: 06 Oct 2008
Are you referring to the increment/decrement controls? I'm not aware of a scroll bar for enums. If so, you can simply customize the control. Right-click on the control and select Advanced -> Customize... You can then resize any part of the control. See the LabVIEW Help for how to use the Control Editor.
forums.ni.com/ni/board/message?board.id=170&th... - At least 4 Posts and 3 Authors - Only this forum

Enums and reflection?   Asked on: 30 Sep 2008
Given a Class object that is an enum (c.isEnum() returns true), how can I assign this to a generic Enum object on some class? Class c = Class.forName(className); if (c.isEnum()){ mEnum = (Enum)c; //does no compile } and i tried: Class c = Class.forName(className); if (c.isEnum()){ mEnum = (Enum)c.newInstance(); //Instantiation exception... } the enum is nothing special, just a list of values..like: public enum Foobar{ X, Y, Z } any tips greatly appreciated
forums.sun.com/thread.jspa?threadID=5335986 - At least 3 Posts and 3 Authors - Only this forum

Help - enums on the fly?   Asked on: 03 Sep 2008
Hi all, (VB6) Is it possible to create enums on the fly? I need to read a database and create an enum with the elements being the table names. The enum will have a generic name but the elements will be different each time of course. Is this possible? Can Enums ever be dynamic? Example of what I want to do... Public Enum NamesOfTables 'loop the tabledefs in a database and add the table name Table1(the tabledef name)=0 (the tabledef index) Table2=1 etc etc End Enum It's illegal to loop inside of a...
www.vbforums.com/showthread.php?t=538074&mode=... - At least 7 Posts and 3 Authors - Only this forum

How to compare enums?   Asked on: 03 Jul 2008
On Thu, 3 Jul 2008 00:57:12 -0700 (PDT), nomad <d.bedgood@btinternet.com Hi, I have an enum which obviously has several values. I want to be able to do a comparison to see if the value selected by a user is the same as one of the enums in the list. My code is below. if (risk.Vehicle.ImmobiliserMake != ImmobiliserMake.None || risk.Vehicle.ImmobiliserMake != ImmobiliserMake.NA) Although the risk.Vehicle.ImmobiliserMake is equal to None, it still gioes into my if block. Any ideas where...
www.omgili.com/newsgroups/microsoft/public/dot... - At least 3 Posts and 2 Authors - Only this forum

#import ignores enums?   Asked on: 12 Oct 2007
On Fri, 12 Oct 2007 08:21:41 -0600, "Chris Shearer Cooper" <chrisnews@sc3.net> wrote: Sorry for the cross-post, but I have absolutely no idea which newsgroup this question should go into ... I have a DLL that I am creating in C++, using the Microsoft attributed stuff, and it contains an enum like this in my H file: [export] enum eInterfaces { eDoodad = 1, eFlipper = 2 }; and then I have an entry in my __interface that looks like this : [propget, id(23), helpstring("property Inter...
www.omgili.com/newsgroups/comp/os/ms-windows/p... - At least 2 Posts - Only this forum

Summing and Enums -- another solution?   Asked on: 21 May 2008
Hello everyone - I have an online survey where users answer questions. To store the survey data, I have two tables: Surveys and SurveyQuestions, in a parent/child relationship. Surveys contain the date and other information for the survey, and then SurveyQuestions store the questions and answers for each survey. The questions are in the format of 1-5, some of which have a possible 'N/A' answer. So the range of acceptable values are 1, 2, 3,4,5 and 'N/ A'. I made an enum column `answer` with th...
www.omgili.com/newsgroups/comp/databases/mysql... - At least 22 Posts and 6 Authors - Only this forum

different formats for each line in enums & rings?   Asked on: 27 Feb 2007
I don't know if this one is possible but I can't figure it out. Can you make an enum or ring control have a different format for each selection? E.G.: Selection1 [default] Selection2 [test mode] Selection3 [optional] Selection4 [optional] I've tried the formatting options and property nodes, no luck. Maybethere arepossibilities with control customizing I'm not thinking of??? Thanks & Regards, K
forums.ni.com/ni/board/message?board.id=170&th... - At least 6 Posts and 4 Authors - Only this forum

VB.NET 2.0: "Referenz-Variable" für Klassen und Enums?   Asked on: 17 Jan 2008
On Thu, 17 Jan 2008 15:25:54 +0100, <Daniel Barisch> wrote: Hallo NG! Kann man in VB.NET (VS2005) eine "Referenz-Variable" auf eine Klasse oder ein Enum definieren? Also in der Art... Dim pMyClass As System.Type = Namespace.SubNamespace.MustInheritClass If pMyClass.SharedProperty Then ... bzw. Dim eXWM As System.Type = GetType(System.Data.XmlWriteMode) pDataSet.WriteXml(pStream, eXWM.DiffGram) Mein Ziel ist es, durch Angabe des vollstndigen Namespace-Pfades einen typsicheren Zug...
www.omgili.com/newsgroups/microsoft/public/de/... - At least 4 Posts and 2 Authors - Only this forum



About Omgili Q&A

Omgili Q&A is a sub-section of Omgili that is dedicated to finding questions and answers.
Most of the questions you want answered have been asked before, and many of them have been answered. Omgili Q&A looks in discussion groups, forums, Q&A sites and extracts the answers for your queries.
It's simple, fast and efficient.



Results Page:   1  2  3  4  5  6  7  8  9  10  Next >

Searches related to: enums

cudaError_enum      cast enum      enum      sapi event enum      Explicit enum cast      serialization of enum iiop      conversion explicite enum     

 

Tip: Didn't find what you were looking for? Try the following:
Ask on Yedda:
i
In Title
In Topic
In Reply
Exclude
Boost