Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## es.upm.gib.mappingAPI2
Class DatabaseInfo

    java.lang.Object
      es.upm.gib.mappingAPI2.DatabaseInfo

All Implemented Interfaces:
  java.io.Serializable

    public class DatabaseInfo

extends java.lang.Object
implements java.io.Serializable

This class contains the information of the database of the project This class has some possible fields: - Name of the database - Description about the database - URL of the database - Id of the database - User of the database - Password of the database

See Also:
  Serialized Form

Constructor Summary
`DatabaseInfo()` Initializes the object
`DatabaseInfo(java.lang.String dbName)`
`DatabaseInfo(java.lang.String dbName, java.lang.String dbDescription, java.lang.String dbUrl, java.lang.String dbId, java.lang.String dbUsr, java.lang.String dbPsw)`

Method Summary
`java.lang.String` | `getDbDescription()` Retrieves the description of the database
`java.lang.String` | `getDbId()` Retrieves identifier of the database
`java.lang.String` | `getDbName()` Retrieves the name of the database
`java.lang.String` | `getDbPsw()` Retrieves the password of the database
`java.lang.String` | `getDbUrl()` Retrieves the url of the database
`java.lang.String` | `getDbUsr()` Retrieves name of the user of the database
`void` | `setDbDescription(java.lang.String dbDescription)` Set a description of the database
`void` | `setDbId(java.lang.String dbId)` Set a identifier to the database
`void` | `setDbName(java.lang.String dbName)` Set the name of the data base
`void` | `setDbPsw(java.lang.String dbPsw)` Set a password to the database
`void` | `setDbUrl(java.lang.String dbUrl)` Set Url of the database
`void` | `setDbUsr(java.lang.String dbUsr)` Set an user name to the database

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DatabaseInfo

    public DatabaseInfo()

  Initializes the object

### DatabaseInfo

    public DatabaseInfo(java.lang.String dbName)

### DatabaseInfo

    public DatabaseInfo(java.lang.String dbName,
                        java.lang.String dbDescription,
                        java.lang.String dbUrl,
                        java.lang.String dbId,
                        java.lang.String dbUsr,
                        java.lang.String dbPsw)

Method Detail

### getDbName

    public java.lang.String getDbName()

  Retrieves the name of the database

  Returns:
    name of data base

### setDbName

    public void setDbName(java.lang.String dbName)

  Set the name of the data base

  Parameters:
    `dbName` - Name of the database

### getDbDescription

    public java.lang.String getDbDescription()

  Retrieves the description of the database

  Returns:
    description of database

### setDbDescription

    public void setDbDescription(java.lang.String dbDescription)

  Set a description of the database

  Parameters:
    `dbDescription` - description of the database

### getDbUrl

    public java.lang.String getDbUrl()

  Retrieves the url of the database

  Returns:
    Url of the database

### setDbUrl

    public void setDbUrl(java.lang.String dbUrl)

  Set Url of the database

  Parameters:
    `dbUrl` - Url of the database

### getDbId

    public java.lang.String getDbId()

  Retrieves identifier of the database

  Returns:
    database id

### setDbId

    public void setDbId(java.lang.String dbId)

  Set a identifier to the database

  Parameters:
    `dbId` - identifier

### getDbUsr

    public java.lang.String getDbUsr()

  Retrieves name of the user of the database

  Returns:
    user name of the database

### setDbUsr

    public void setDbUsr(java.lang.String dbUsr)

  Set an user name to the database

  Parameters:
    `dbUsr` - user name of database

### getDbPsw

    public java.lang.String getDbPsw()

  Retrieves the password of the database

  Returns:
    database password

### setDbPsw

    public void setDbPsw(java.lang.String dbPsw)

  Set a password to the database

  Parameters:
    `dbPsw` - password of the database

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD