Boolean method Sun naming convention?

Does anyone know if the Sun manual for boolean methods has a naming convention? That is: are methods that return boolean supposed to start with 'is' or 'has' or something like that?
I have the Sun conventions manual from 1997, and it doesn't say -- I'm wonderring if this is now out of data?
L-

I don't know what Sun coding guidelines says about this, if anything.
But I believe that the Java API should be the de facto convention.
Check what they do and do the same! In your case, yes, it seems that
they use the "is" and "has" prefixes where appropriate.

Similar Messages

  • Storage Location Naming Convention without WM!

    Dear all
    We are facing serious problem in our Storage Location for Raw Material.
    We have 4 types of Raw Material Seating (S), Panel (P), Metal (M), Wood (W). And they are all stored under Storage Location: RWSL.
    Requirement:
    Although we have visual guideline as to which industrial rack will store the type of Material, it is insufficient. We need a more refined storage location down to which BIN of the rack we will put the Raw Material.
    Due to limited time and resource, we cannot have WM implemented right now. Thus, we have come out with 2 alternative to overcome this problem:
    Alternative 01:
    We will use the Fixed Bin field in Storage Data 02 by putting the Bin number assigned to each Rack.
    E.g. For Seating material code:SEAT01, we will maintain the Fixed Bin as R12A01/A02, it means this Seating material SEAT01 will be stored at Rack 12, fixed bin A01 or A02.
    Question to Alternative 01: Will it cause problem in GR, GR, Transfer Posting and Stock Count?
    Alternative 02:
    Instead of going into details to put Fixed Bin field in Storage Data 2, we will abandan the existing Storage Location RMSL by introducing new format for Storage Location
    Here is the example of Alternative 02:
    For raw materials, we will use 4 digits location numbers, consistent with other Storage locations, the 4 digits storage location will start with u201CR _ _ _u201D to represent each location
    And,
    R _ _ _ is:
    R = Raw materials
    2nd digit = Division (S= Seating, P =Panel, W=Wood, M=Metal and W=Wood)
    3rd digit = Rack Number (A, B, C, Du2026 and etc.)
    4th digit = Rack Zone - each rack will broken down into zone, each rack can possibility have 2 to 3 zone. 1 Zone can be 1 colume of the Rack
    An example of a possible location and its meaning will be
    RSA1 = Raw materials warehouse, Seating division, Rack A, Zone 1
    RPB3 = Raw materials warehouse, Panel Division, Rack B, Zone 3
    The challenge of this is that instead of having 1 Raw Material Storage Location like RMSL, we will have a lot more storage locations each for division of Raw material due to the Rack Number we have as well as the Rack Zone.
    Question to Alternative 02:
    If we use this alternative, will it impact our future implementation of WM? From design wise, is it feasible?
    Please advise what is the best approach and the feasible design on it.
    Many thanks in advance.
    Edited by: Daimos on May 13, 2009 10:15 AM

    Hi, here is the Pro and Co of both approaches:
    Method 01: Use existing SLOC and add the Storage Bin info
    e.g. SLOC: STM1
             Storage Bin: RSC3, where RS = Rack Seating, C3 = column 3
    Pro 01:
    It will cause less effort as we only need to use LSMW for material master to add in the Storage Bin data for all material of SCM.
    Pro 02:
    I have tested out that in TCode MIGO, apart from SLOC, the pertaining Storage Bin data also appear.  Based on my discuss with Xian Chen, sometimes they use MB1C(GR), MB1A(GI) rather than MIGO due to speed issue, I will need to check the field status if can have Storage Bin field APPEAR, if can, it will solve the problem
    Con 01:
    The Storage Bin information will only appear in MMBE (Stock Overview) but will not appear in the standard SAP Inventory Report (e.g. MB52 Warehouse Stock). To view it from SAP Inventory Report, we may need to customize the standard report to show the new field Storage Bin. It needs Abap effort.
    Con 02:
    We must have a very good naming convention for Storage Bin. And again, in the above example, if a material is put in SLOC STM1 at Storage Bin RA A1 or C4, it will set a very rigid rule in the future if we need to change it, as I fear that one the Storage Bin has been used up. It will not allow us to change (need to do testing to find out)
    Con 03:
    Do we have the time to define all the Storage Bin for each SLOC? Operation wise, the store personnel needs to design it
    Method 02: Use the new SLOC
    Pro 01:
    RSA1 = Raw materials warehouse, Seating division, Rack A, Zone 1. More organized. Easy to tell the material is at which  Rack and which Zone of the Rack.
    Assumption:
    01. we must not have too many rack for one Seating division and also not too many Zone for each
          Division, else it will cause confusion
    02. 1 material should stick to 1 Rack 1 zone as much as possible, else later the PP consultant will 
         have hard to to perform GI due to too many SLOC assigned to a material.
    Pro 02:
    In report wise, we are able to show the SLOC in inventory report. No need to enhance the existing inventory report as we do not use Storage Bin.
    Con 01:
    If there are too many SLOC creation due to it. It may cause problem for PP perform GI as too many selection available for a material. This can be avoided if stick to the General Rule that one material is tied with one SLOC.
    Edited by: Daimos on May 16, 2009 5:07 AM

  • Class naming convention

    many a times i face difficulty with the Action/Class naming convention.
    Say, today ..i wrote a class.....tomorrow i have to rename the name of the class so that it becomes a more meaningful name and becomes unique and understandable with the newcomer classes.
    ...just to do this, i had to change the name of the class very frequently.
    Though i follow few conventions like :
    1) First letter of the class is Captial letter.
    2) use names which is relevant with the classs's functionality.
    but still i fall in problem....
    say, i want to populate a DataBase with my class.....whats the name i should keep ? tommorrow i am going to write another class which also populate the database . what do i do ?
    i first rename the old class with some meaningful name and then i write the new class with some other meaningful name.....but this kills time.....demands lots of changes....and so on...
    you know, i get trouble when my number of classes increases.
    do u feel the same ?
    what are the rules (NOT JAVA RULES but meaningful rules) i should remember to keep a class name ?

    You can name a class based on what it supposed to
    do...
    while naming it follow conventions like the ones
    which are mentioned in the code
    conventions/guidelines of your project.
    You will not be writing the same functionality in two
    different classes... would you??
    In case you may need to refractor(rename the class
    name) you may use java editor with refractoring
    capability to do it..
    With most of the java editors, you get this
    functionality.. e.g. doing a Alt+Shift+R would
    refractor your selected method, class, field etc...
    This applies to Eclipse
    >
    Hope that helps..
    Vaibhav

  • No error generated if batch process load file uses wrong naming convention

    Another interesting one...
    When using the batch processing functionality of FDM, which can be executed by either:
    - FDM Workbench (manually)
    - Hyperion FDM Task Manager (scheduled)
    - upsShell.exe (scheduled and executed from a batch script)
    ..., one has to name the data file (to be loaded) using a specific file naming convention (i.e. "A~LOCATION~CATEGORY~PERIOD~RA.csv" format, for example). However, if one does not name the file correctly and then tries to process the file using batch processing functionality using any of the above three methods, FDM happily moves the file out of the OpenBatch folder and into a new folder, but the file is not loaded as it does not know where to map it to (as expected). However, there are no errors in Outbox\Logs\<username>.err to inform the user, so one is non the wiser that anything has gone wrong!
    When using FDM Workbench, an error is displayed on the screen (POV - "Batch Completed With Errors, ( 1 ) Files Contained Errors"), but this is the only indication of any error. And normally, one would be scheduling the load using upsShell.exe or Hyperion FDM Task Manager anyway...
    Has anyone else noticed this, or am I doing something wrong here? :-)

    Yes, as per my original post the only feedback on any POV errors appears to be when using the FDM Workbench Batch Processing GUI.
    Regarding the "Batch Process Report in FDM" you mentioned, are you referring to Analysis | Timeline accessible via FDM web client? Unfortunately this does not appear to provide much in the way of detail or errors, only general events that occurred. I cannot locate any batch process report, other than the log output I defined when calling upsShell.exe. However, this contains no POV errors...

  • Naming convention for packages and classes

    Hi all,
    Is there any naming conventions for packages and classes which uses a design pattern ?. If yes what are the conventions used for business delegate,session facade, service locator,DAO and any other patterns.
    rgds
    Anto Paul

    Hi,
    that is a good question and one we have considered also. We dont yet cover the naming conventions for classes based on patterns but maybe will in the future. Currently, in the blueprints apps we tend to do some things like naminga class
    -AccountDAO etc for DAOs
    -For servicelocator we have a class called ServiceLocator viewable at https://adventurebuilder.dev.java.net/source/browse/adventurebuilder/ws/components/servicelocator/src/java/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java?rev=1.4&content-type=text/vnd.viewcvs-markup
    -for session facade, its a bit trickier since the name is so long and we cant add "SessionFacade" to the end of each facade class. I think in general we put "Facade" in the name, usually near the end
    -For Business Delegat, again it seems too long to add to each class name. So in the past we have added
    a "BD" to the names of the delegates. Some examples are at http://java.sun.com/blueprints/patterns/BusinessDelegate.html
    -For transfer objects we usually add a TO to the end of the name. Some examples at http://java.sun.com/blueprints/patterns/TransferObject.html
    Seems like something we could get a bit more consistent about.
    hope that helps,
    Sean

  • Private vs. protected, naming conventions etc.

    I've been grappling with a couple of frustrations with Forte, and I'm
    interested in feedback from others on this list regarding approaches
    they may have adopted to address these.
    One is that in the Forte workshops there is no way to view only the
    public methods and attributes of a class (we're still using V2 here; I'm
    assuming that V3 has not changed this). While referring to appropriate
    technical documentation for a class is obviously important, I still find
    myself opening up classes in the workshops to inspect the methods and
    attributes available. (What I really want to see is an integrated class
    browser. I sure hope Forte is working on something like this, or will
    open up their development environment to support third-party extensions.
    But that's an aside.)
    A convention I just recently adopted in my work is to name private
    methods and attributes with a beginning underscore ("_"). That way the
    private elements are sorted to the top of the list and can be easily
    differentiated from public elements. I'm curious, though, whether others
    have adopted similar or different approaches.
    I've also felt a bit frustrated over the lack of support for protected
    attributes/methods for TOOL classes. This strikes me as a rather
    bothersome shortcoming. The only approach I can think of is to make such
    elements public, but adopt the same or similar naming conventions as a
    strong hint to developers to avoid using these in clients of these
    classes. Again, I'd be very interested in hearing how others have dealt
    with this issue.
    Thanks.
    Michael Brennan
    Programmer/Analyst
    Amgen Inc.

    I sent this once before, but the list seemed to be having trouble late last
    week. If you get two copies of it... my apologies.
    OK, I couldn't resist joining the fray...
    At 10:56 AM 11/6/97 -0800, Michael Brennan wrote:
    >
    A convention I just recently adopted in my work is to name private
    methods and attributes with a beginning underscore ("_"). That way the
    private elements are sorted to the top of the list and can be easily
    differentiated from public elements. I'm curious, though, whether others
    have adopted similar or different approaches.You might even designate a single character before the underscore to denote
    that, just in case some environment (CORBA) doesn't like the "_". You could
    make it something like "Q" or "Z" or something that wouldn't normally be
    used alone at the start of a name.
    >
    I've also felt a bit frustrated over the lack of support for protected
    attributes/methods for TOOL classes. This strikes me as a rather
    bothersome shortcoming. The only approach I can think of is to make such
    elements public, but adopt the same or similar naming conventions as a
    strong hint to developers to avoid using these in clients of these
    classes. I share your desire for protected methods, but I have to disagree about
    protected attributes. Philosophically speaking, protected and public
    attributes are EVIL!! (I say "philosophically speaking" because, in the
    Forte environment, there are some valid reasons for using them based upon
    the visibility constraints of the language. In other languages, C++ and
    Java, for example, it's not even philosophically speaking - they're just
    evil!!)
    One of the principal reasons for adopting the object paradigm is to
    tightly control the impact of change - to provide good boundaries of
    encapsulation that change does not ripple beyond. If you think about it,
    one of the measures of the success of a superclass is the number of
    subclasses that it has (especially for a good dabstract interface). This
    says you have very nicely captured the semantics of the application domain
    in the interface of the superclass. So, let's imagine a superclass with
    protected attributes that are used by each of its 100 subclasses (probably
    more than you would have, but I'm illustrating my point - incidentally, I'm
    not talking about a hierarchy 100 deep; I'm talking about 100 subclasses
    that are all direct decendants of the superclass). Now you go and change
    one of the attributes. You must go look at all 100 subclasses to determine
    the impact of change. This is exactly the kind of thing the object paradigm
    was designed to eliminate.
    Protected methods, on the other hand, would be nice.
    And At 12:06 PM 11/6/97 -0800, Mark S. Potts wrote:
    >
    Forte inherits in a strange way when attributes are private. A
    superclass attribute that is made private is not accessible from any of
    its subclasses - this means that many of what you would consider private
    attributes in fact have to be public. Well, the definition of private means "not visible outside of the class
    where it is defined". I find it useful to think of the level of visibility
    the same as secrets. There are things that are not really secrets at all -
    it's ok if anyone knows them ("My name is Stephen"). These are public.
    Then, there are things that it's ok if my family knows, but I don't want
    the world to know - familial secrets, if you will ("I belch at the dinner
    table when I'm at home"). These are visible to descendant classes and we
    call them protected. Finally, there are things we don't want anyone else
    to know, no matter who they are ("I poisoned my mother-in-law"). These are
    private. We don't want anyone outside of ourselves to know these things.
    These are the classic definitions of public, protected and private (perhaps
    classic only because C++ defined them that way and everyone else just
    copied what it meant).
    Private attributes are not meant to be inherited by their subclasses.
    That's why they're private. And, yes, I would argue that that is completely
    correct. What you want, if you want them to be visible to subclasses, is
    "protected". Now, Forte doesn't support protected, but that's a different
    arguement - perhaps even an enhancement request.
    We also should not confuse what we need to do in a language/environment
    with what good OO principles are. For example, good OO design principles
    state that you do not have public or protected attributes. Period! You
    access them via accessors and mutators defined on the appropriate class.
    Now, in some environments, this will not give you the performance you need,
    so you open things up a bit. But, you shouldn't convince yourself that
    doing this is the ideal design, just that it was necessary for performance.
    The real problem here is that the performance of accessor and mutator
    functions is not fast enough. That's why we open it up. Not because it is
    good design. The proper way to fix the problem is to make accessors and
    mutators fast enough so that they can be used (C++, for example, does this
    with "inline" - not that C++ is my favorite language, it's not. But they
    have fixed this one area nicely.)
    Some would argue that this is correct and that inheritance does break thepure rules
    of encapsulation I don't think inheritance, properly handled (and Forte does properly
    handle it) breaks any rules of encapsulation. I would argure that the way
    they treat private attributes is quite correct.
    - but these people dont build applications!Hmmm... let's see... started building OO applications in 1985 (and building
    them ever since) in complex application domains like CAD/CAM/CAE, Air
    Traffic Control, Graphics/Imaging, Telecommunications, e-commerce,
    entertainment,... ...wrote (and teach) the Forte OO Analysis and Design
    course.
    I guess you're right. I don't build applications. I build robust,
    maintainable, extendable applications. ( ;-) ...nudge, nudge!)
    Stephen

  • [svn:fx-3.x] 12371: The main AccImpl was updated to handle accessible naming conventions differently than before .

    Revision: 12371
    Revision: 12371
    Author:   [email protected]
    Date:     2009-12-02 08:51:12 -0800 (Wed, 02 Dec 2009)
    Log Message:
    The main AccImpl was updated to handle accessible naming conventions differently than before.  This change was made to make the 3.x branch consistent with the trunk changes.  The updated methods allows the accessibilityName property to overwrite the logic that was previously used to build the accessible name for components that were inside of forms.  This method also provides a method to allow developers to specificy that no form heading or form item label should be included in the accessibilityName for the form field by using a space.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as

    Revision: 12371
    Revision: 12371
    Author:   [email protected]
    Date:     2009-12-02 08:51:12 -0800 (Wed, 02 Dec 2009)
    Log Message:
    The main AccImpl was updated to handle accessible naming conventions differently than before.  This change was made to make the 3.x branch consistent with the trunk changes.  The updated methods allows the accessibilityName property to overwrite the logic that was previously used to build the accessible name for components that were inside of forms.  This method also provides a method to allow developers to specificy that no form heading or form item label should be included in the accessibilityName for the form field by using a space.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as

  • Naming Conventions for Workflow

    Hello,
    does anybody have a document for Naming Conventions for Workflow.
    I found nothing the last hour.
    Thanks in advance for any help ...
    Stefanie

    Hi,
    I am sending you naming convention which we followed in our project.
    Workflow Template & Standard Task:
    SAP/R3 Limitations:
    Workflow Template & Standard Task names are limited to 12 bytes.
    Standard:
    Bytes 1-3 of the Workflow Template & Standard Task (see following table) are intended to give an overview of general information regarding the Workflow Template & Standard Task.
    Characters 4-12 of the name should be chosen to impart some idea of the Workflow Template & Standard Tasku2019s use and/or contents.  (The portion of the Workflow Template & Standard Task name that forms the unique identifier may, or may not, contain underscores characters to enhance Workflow Template & Standard Task name readability.)
    Position     Description     Sample Values     Sample Meanings
    1     Table system life     Z/Y                Permanent/Temporary
    2     Application Type     *                    See Application Designators (Appendix B)
    3     OPCO/Region     *                    See OpCo Initial Chart (Appendix A) 
    4-12     Unique identifier     text                     Unique identifier; may include underscores
    Example: ZS7_IDEL9 (I:-Inbound, DEL: - OILDEL 9:- Original)
    Business Object:
    SAP/R3 Limitations:
    Business Object names are limited to 10 bytes.
    Standard:
    Bytes 1-3 of the Business Object (see following table) are intended to give an overview of general information regarding the Business Object.
    Characters 4-12 of the name should be chosen to impart some idea of the Business Objectu2019s use and/or contents.  (The portion of the Business Object name that forms the unique identifier may, or may not, contain underscores characters to enhance Business Object name readability.)
    Position     Description     Sample Values     Sample Meanings
    1     Table system life     Z
    Y     Permanent
    Temporary
    2     Application Type     *     See Application Designators (Appendix B)
    3     OPCO/Region     *     See OpCo Initial Chart (Appendix A) 
    4-12     Unique identifier     text     Unique identifier; may include underscores
    Example: ZS7_OILDEL (Business Object for OILDEL Message Type)
    Methods
    Method names should begin with a verb:
    Examples: GET_STATUS, CREATE_ORDER, DETERMINE_PRICE
    For Parameters:
    IMPORTING parameters     IM_<parameter name>
    EXPORTING parameters     EX_<parameter name>
    CHANGING parameters     CH_<parameter name>
    RESULT     RE_<result>
    Events
    Event names should have the form
    <noun>_<participle>:
    Examples: BUTTON_PUSHED, COMPANY_CODE_CHANGED, BUSINESS_PARTNER_PRINTED
    Note: There is no specific naming convention for Container Variables in workflow & for Key Fields & Attributes in Business Object. These variables name should be chosen to impart some idea of the variablesu2019 use and/or contents. 
    Appendix A
    ABAP Programming Standards:  OpCo/Region Initial Chart
    Old #     Company Name                               Proposed #     Accounting Location
    98     Common                                                     A              San Ramon
    95     FSC                                                     B              San Ramon
    80     Chevron Chemical Company                      C              San Ramon
    89     Chevron USA-Downstream & General     D     Walnut Creek
    75     Chevron Real Estate Management      E     San Francisco
    76     Chevron Information Technology Company      F     San Ramon
    77     Gulf Oil Great Britain                                    G     London
    85     Corporation (Acct. by Corp.)                    H     San Francisco
    83     Chevron International Oil company              J     San Ramon
    87     Chevron U. K. Limited                               K     England
    86     Corporation (Acct. - Local Office)                    L     Various
    96     P&M Coal & Mining Company                   M     Denver
    94     Corporation (New York)                   N     New York
    90     Chevron Pipeline Company                    P     San Ramon
    79     Chevron Canada Resources, Ltd.              R      Calgary
    92     Chevron Shipping Company                  S                     San Francisco
    81     Chevron Petroleum & Tech Co.                  T                     Houston
    91     Chevron USA Upstream                  U                     Concord
    78     Chevron Canada, Ltd.                              V                     Vancouver
    93     CUSA Warren Petroleum                  W     Tulsa
    84     Chevron Overseas Petroleum, Inc.            X                     San Ramon
    88     Chevron Research & Tech. Company        Y      Richmond
    -     Corp. GLX Common validations                   Z      San Ramon
    -     PCA                                                   3                     San Ramon
    -     Tax                                                   4                     San Ramon
    -     Audit                                                   5                     San Ramon
    -     Asia-Pacific                                   6                     Global
    -     Africa                                                   7                     Global
    -     Latin America                                   8                     Global
    Appendix B
    ABAP Programming Standards:  Application Designators
    A     Assets Accounting
    C     PPC
    D     DASS (control station)
    E     RIVA/IS-Oil
    F     Financial Accounting (incl. Joint Venture)
    G     General Ledger
    H     Human Resources Planning
    I     Plant Maintenance
    J     Publishing
    K     Cost Accounting
    L     Inventory Management
    M     Materials Management
    N     Hospital
    O     unassigned
    P     Human Resources
    Q     QSS (Quality assurance)
    R     PRA (Prod & Revenue Acctg)
    S     Basis
    T     Projects
    U     Enterprise Data Model
    V     Sales
    W     MMS (Merchandise mgt. System)
    X     unassigned
    Y     Customer head office
    Z     Customer branch
    <inappropriate content removed by moderator>
    Thanks
    Yogesh Sharma
    Edited by: Mike Pokraka on Jul 2, 2008 10:34 AM

  • Naming Convention document for MDM

    Hi,
    I am looking for naming convention document for MDM . If anyone have then please do share with me .
    Thanks,
    Rohit
    [email protected]

    Rohit,
    if you are speaking about programming, the naming convention depends from the language that you are using, e.g. for Java:
    http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html
    for abap:
    http://help.sap.com/saphelp_nw04/helpdata/en/92/c2b084bc1d11d2958700a0c94260a5/content.htm
    for rdbms:
    http://www.ss64.com/orasyntax/naming.html
    etc. etc.
    Regards,
    Vito

  • Enterprise Object (EO) Naming Conventions for Controls

    Post Author: rnagahori
    CA Forum: Nsite
    When naming controls you should follow standard naming conventions. Good names
    describe the control, such as prodName, effectiveDate, and dateRequired. Avoid
    special characters like "-" ," /", "<" , or ">" when naming your controls.

    Post Author: rnagahori
    CA Forum: Nsite
    Additional notes ... Avoid using the following list of Reserved Variable Names:Application Builder uses several reserved variable names. Please do not use
    these as the names of controls, or as variables within Action Builder
    routines.
    Reserved Names
    sum
    min
    max
    avg
    abstract
    boolean
    break
    byte
    case
    catch
    char
    class
    const
    continue
    default
    do
    double
    else
    extends
    false
    final
    finally
    float
    for
    function
    goto
    if
    implements
    import
    in
    instanceof
    int
    interface
    long
    native
    new
    null
    package
    private
    protected
    public
    return
    short
    static
    super
    switch
    synchronized
    this
    throw
    throws
    transient
    true
    try
    var
    void
    validate
    while
    with
    _allowSubmitOnError
    _fields
    _form
    _locked
    _name
    _queue.errorFields
    _queue.errors
    _queue.validation
    _parent
    _pointers
    _showAlerts
    _skipValidation
    _status
    obj
    addEvent
    addField
    addMethod
    addValidator
    changedFields
    checkForErrors
    disabled
    dump
    forceValidation
    hasChanged
    getFields
    optional
    onSubmit
    onValidate
    removeField
    required
    reset
    setFields
    submit
    submitCheck
    description

  • Any document on naming conventions to be used in BPM?

    Hi All,
    Is there any document available which specifies the standard naming conventions to be used in BPM? Please respond, if there is any.
    Regards.
    Rajat

    Hi,
    you would need to put string constants in a file ending with .properties. From out of your application you replace all string constants with calls to a ResourceBundle class you'd have to instantiate for the .properties file.
    ResourceBundles use a certain namin convention combining an arbitrary name with a locale such as _de for a german system for instance.
    See the API docs at http://java.sun.com/j2se/1.4/docs/api/java/util/ResourceBundle.html
    You can see an open source example of an application running in different locales at http://www.lightdev.com/dev/sh.htm
    HTH
    Ulrich

  • Components naming convention

    Are there any components naming convention guidelines? For example, for text field components id, should that be prefix with textName or suffix with nameText, etc. In tutorials, I have seen both approach.

    We compiled some conventions based in engineering input. You can see them at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/about_components.html#general (see the id row in the table).
    In the tutorials, we decided to not strictly follow these guidelines. Our reason was, we wanted the reader to focus on the lesson on hand. We didn't want to waste the users time renaming ids when it didn't really affect the outcome. These are one-time apps and thus the naming of the ids is not as important as with an app that will be worked on by different people over a span of time. Hope that makes sense.

  • What are the naming convention rules for BAPI and types

    what are the naming convention rules for BAPI
    points will be rewarded,
    thank you,
    Jagrut BharatKumar Shukla

    Hi,
    plz go through the following links....
    Business application Prograaming Interface is nothing but the Method of a Business object.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    u can check the below the material also
    what is BAPI?
    BAPI stands for Business API(Application Program Interface).
    I have answered this question before..
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    BAPI
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    List of all BAPIs
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    ***do reward if usefull
    vijay

  • Component naming conventions

    I'm curious if there are recommended naming conventions for
    component instances when placed on the stage. Naming movie clips
    and buttons "something_mc" and "something_btn," respectively,
    allows Flash to recognize them as such, thus showing the list of
    methods and properties when accessing the object in ActionScript.
    Naming a movie clip "something" does not allow this list to appear.
    Similarly, if I programmatically create an FLVPlayback
    component through ActionScript, like
    var flvPlayer:fl.video.FLVPlayback = new
    fl.video.FLVPlayback();
    then I get the methods and properties list when tying
    flvPlayer.
    But if I drag the component onto the stage and give it an
    instance name of 'flvPlayer,' typing
    flvPlayer.
    does not bring up the list. Are there any names these should
    have in order for Flash to recognize it as a component?

    In AS2, there used to be custom component code hinting (_cb =
    combobox, _lb = listbox, etc.). But I believe they've been removed
    in AS3.
    However, there
    are still some hidden ones that trigger.
    You can find them all in the ActionsPanel_3.xml file located
    in:
    C:\Documents And Settings\[user]\Local Settings\Application
    Data\Adobe\Flash CS3\en\Configuration\ActionsPanel\ActionScript_3
    They're at the very bottom of the file. You can add your own
    as well, just make sure to restart flash for the effect to take
    hold. If you completely mess up the file, there's a copy in the
    FirstRun directory under Program Files.
    Cheers,
    FlashTastic

  • JDK version naming convention?

    When I run "java -version" from command line, the output is:
    C:\>java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
    Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
    I wonder what do the "1.4.2" and "build 1.4.2-b28" and "build 1.4.2-b28 mixed mode" mean separately?
    What about Sun Java 2 SDK 1.4.2_03?
    As for java version, does sun have an official naming convention?
    Any help will be appreciated.
    -yunfeng

    I hope these documents answer your question:
    http://java.sun.com/j2se/versioning_naming.html
    http://java.sun.com/j2se/codenames.html
    I think "mixed mode" refers to the level JIT compilation; "mixed mode" means that the virtual machine interpretes parts of the byte code and compiles parts to machine code. If you run the VM in interpreted mode instead (java -Xint -version) it will say "interpreted mode."

Maybe you are looking for

  • Pages very slow to load

    Hello, All of the sudden my Safari is very slow, and pages take almost one entire minute to load.  Is there anyway I can speed this up or clean up my system?

  • Syetem.getEnv

    hi I need to keep the path of the application location in the System path. I know i could have use this funcetion but it is deprecated. the return value of Syetem.getProperties(key) is always null. How can i get this information?

  • Quicktime doesn't play .mpg camera videos!

    after upgrading to latest QTplayer i cannot hear any sound! anyone with the same problem? videos are from sony still camera and i think they are MPG1.

  • Can someone help me when Firefox closes randomly it removes all the cookies and cache, and I am not able to restore lost tabs...?

    For a while now Firefox has randomly shut down for reasons unknown. Sometimes windows reports the error but not always. When I start Firefox back up again, it does not restore my tabs. Also as an added bonus it deletes the cookies and cache, and I do

  • Mac osx 10.5.8 to 10.6.8v

    I have a mac osx 10.5.8, is it available for a free update to 10.6v? any solotions for me to connect my new iphone5 to my current mac osx 10.5.8?