1. If it is not already selected, select the EntryStation element in the Diagram editor.
2. Right-click the word Attributes and choose Insert Attribute from the pop-up menu. A one-line editor opens and displays the following information:
3. visibility type name[ranges]=initialValue{name=value}
4. Type stationID and press Enter. An attribute named stationID of type int appears on the EntryStation class, and the following operations are created on the class: public int getStationID() public void setStationID(int val)
Note that the get and set operations are created because you kept the default setting.