org.openstreetmap.osmosis.util.impl
Class User

java.lang.Object
  extended by org.openstreetmap.osmosis.util.impl.User

public class User
extends java.lang.Object

Represents a single record from the user table.

Author:
Brett Henderson

Constructor Summary
User(long id, java.lang.String displayName, boolean dataPublic)
          Creates a new instance.
 
Method Summary
 java.lang.String getDisplayName()
          The publicly displayed name of the user.
 long getId()
          The unique identifier of the user.
 boolean isDataPublic()
          Indicates if the user's edits are public.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(long id,
            java.lang.String displayName,
            boolean dataPublic)
Creates a new instance.

Parameters:
id - The user id.
displayName - The user display name.
dataPublic - The user's public edit flag.
Method Detail

getId

public long getId()
The unique identifier of the user.

Returns:
The id.

getDisplayName

public java.lang.String getDisplayName()
The publicly displayed name of the user.

Returns:
The display name.

isDataPublic

public boolean isDataPublic()
Indicates if the user's edits are public.

Returns:
True if the edits are public.