setObjectName

public Unit setObjectName(String name)

Sets the object name.