Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > name
Next representationpackage    Uprepresentation    Previous representationmodel   

name comparison table
Subject have example composed of choose from has definition be have start with have localization issues contain is a subtopic of refer to write in
class name  nouns or noun phrases in source material unless they are
  1. redundant
  2. represent instances
  3. are vague or general
  4. correspond to classes that are not needed for this application or this type of model
 too general or too specific    5.8 - The Process Of Developing Class Diagrams the singular by convention
host name   An alphanumeric name given to a host, normally divided into several components separated by dotsa more human-readable form of IP address    3.5 - Technology Needed to Build Client-Server Systems  
Java class namePartTimeEmployee nouns or noun phrases in source material unless they are
  1. redundant
  2. represent instances
  3. are vague or general
  4. correspond to classes that are not needed for this application or this type of model
 too general or too specificfirst letter of each word capitalized by convention  spaces2.2 - Classes and Objects the singular by convention
Java data type name         The Basics of Javaa primitive data type if it starts with a lower case letter 
Java package name
finance.banking.accounts
a series of words separated by dots   the domain name of the organization (with the components inverted) prepended to the package name by convention to assure that each package name is unique in the world   The Basics of Java  
Java primitive data type name      a lower-case letter  The Basics of Java  
label         5.4 - Generalization  
person's name       
  • Family name comes first in some cultures, last in others and is non-existent in others
  • In some cultures a person's legal name differs from their commonly-used name
  • Salutations such as Mr. and Dr. can vary widely. In some cultures it is expected that people will have multiple salutations, all used at once
 7.5 - Usability Principles  
program element name    less than about six characters except perhaps for loop counter variables, where i and j are commonly used    Programming Style Guidelines  
use case name         7.3 - Developing Use Case Models of Systems  

Next representationpackage    Uprepresentation    Previous representationmodel