Question: are the java counterpart to uml attributes?
Answer: The Java counterpart to UML attributes are member variables and related accessor operations. The attributes identified in the class will be generated as member variables which can be private, public or protected. The generation process can also generate the necessary accessor operations.