When creating names for fields, adhere to the naming conventions you created as referenced in the Before You Begin section. When naming fields, consider to the following:

  • The primary identifier field should have the Id or id name suffix.

  • Path parameters or query parameters should be written next. For example:

    @PathParam("id") final String pId
    @QueryParam("catalogId") final String pCatalogId

  • Fields in a Boolean domain should have a flag suffix.

  • A field that indicates a user action should have a By suffix, such as lastUpdatedBy.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices