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 MappingMetadata

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

All Implemented Interfaces:
  java.io.Serializable

    public class MappingMetadata

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

This class is represented by some metadata: - Format version of the mapping - Name of the mapping - description of the mapping - databaseinfo of the mapping - List of authors of the mapping - Date of creation of the mapping - Last author who modifies the mapping - Date of last modification of the mapping - List of abbreviations - CustomData

See Also:
  Serialized Form

Constructor Summary
`MappingMetadata()`
`MappingMetadata(java.lang.String mappingFormatVersion)`

Method Summary
`void` | `addAuthor(java.lang.String author)` This method adds a new author to the list of authors of the mapping
`void` | `addValueToCustomData(java.lang.String key, java.lang.String value)` This method adds a new value to the custom data of the mapping
`java.util.Map<java.lang.String,java.lang.String>` | `getAbbreviationList()` This method returns the list of abbreviations of the mapping
`java.util.Set<java.lang.String>` | `getAuthors()` This method returns the list of authors of the mapping
`java.util.Date` | `getCreationDate()` This method returns the creation date of the mapping
`CustomData` | `getCustomData()` This method returns the custom data of the mapping
`DatabaseInfo` | `getDatabaseInfo()` This method returns information of the database
`java.lang.String` | `getDescription()` This method returns the description of the mapping
`java.util.Date` | `getLastModificationDate()` This method returns the last modification date of the mapping
`java.lang.String` | `getLastModifiedBy()` This method returns the last author who modifies the mapping
`java.lang.String` | `getMappingFormatVersion()` This method retrieves the version of the mapping
`java.lang.String` | `getMappingName()` This method returns the name of the mapping
`void` | `setAbbreviationList(java.util.Map<java.lang.String,java.lang.String> abbreviationList)` This method sets the list of abbreviations of the mapping
`void` | `setAuthors(java.util.Set<java.lang.String> authors)` This method sets the list of authors of the mapping
`void` | `setCreationDate(java.util.Date creationDate)` This method sets the creation date of the mapping
`void` | `setDatabaseInfo(DatabaseInfo databaseInfo)` This method sets information of the database
`void` | `setDescription(java.lang.String description)` This method sets the description of the mapping
`void` | `setLastModificationDate(java.util.Date lastModificationDate)` This method sets the last modification date of the mapping
`void` | `setLastModifiedBy(java.lang.String lastModifiedBy)` This method sets the last author who modifies the mapping
`void` | `setMappingFormatVersion(java.lang.String mappingFormatVersion)` This method sets the version of the mapping
`void` | `setMappingName(java.lang.String mappingName)` This method sets the name of the mapping

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

Constructor Detail

### MappingMetadata

    public MappingMetadata(java.lang.String mappingFormatVersion)

### MappingMetadata

    public MappingMetadata()

Method Detail

### getMappingFormatVersion

    public java.lang.String getMappingFormatVersion()

  This method retrieves the version of the mapping

  Returns:
    the version of the mapping

### setMappingFormatVersion

    public void setMappingFormatVersion(java.lang.String mappingFormatVersion)

  This method sets the version of the mapping

  Parameters:
    `mappingFormatVersion` - version of the mapping

### getMappingName

    public java.lang.String getMappingName()

  This method returns the name of the mapping

  Returns:
    name of the mapping

### setMappingName

    public void setMappingName(java.lang.String mappingName)

  This method sets the name of the mapping

  Parameters:
    `mappingName` - name of the mapping

### getDescription

    public java.lang.String getDescription()

  This method returns the description of the mapping

  Returns:
    description of the mapping

### setDescription

    public void setDescription(java.lang.String description)

  This method sets the description of the mapping

  Parameters:
    `description` - description of the mapping

### getDatabaseInfo

    public DatabaseInfo getDatabaseInfo()

  This method returns information of the database

  Returns:
    information of the database

### setDatabaseInfo

    public void setDatabaseInfo(DatabaseInfo databaseInfo)

  This method sets information of the database

  Parameters:
    `databaseInfo` - information of the database

### getAuthors

    public java.util.Set<java.lang.String> getAuthors()

  This method returns the list of authors of the mapping

  Returns:
    authors of the mapping

### setAuthors

    public void setAuthors(java.util.Set<java.lang.String> authors)

  This method sets the list of authors of the mapping

  Parameters:
    `authors` - list of authors

### getCreationDate

    public java.util.Date getCreationDate()

  This method returns the creation date of the mapping

  Returns:
    the creation date of the mapping

### setCreationDate

    public void setCreationDate(java.util.Date creationDate)

  This method sets the creation date of the mapping

  Parameters:
    `creationDate` - creation date of the mapping

### getLastModifiedBy

    public java.lang.String getLastModifiedBy()

  This method returns the last author who modifies the mapping

  Returns:
    last author who modifies the mapping

### setLastModifiedBy

    public void setLastModifiedBy(java.lang.String lastModifiedBy)

  This method sets the last author who modifies the mapping

  Parameters:
    `lastModifiedBy` - last author who modifies the mapping

### getLastModificationDate

    public java.util.Date getLastModificationDate()

  This method returns the last modification date of the mapping

  Returns:
    the last modification date of the mapping

### setLastModificationDate

    public void setLastModificationDate(java.util.Date lastModificationDate)

  This method sets the last modification date of the mapping

  Parameters:
    `lastModificationDate` - last modification date of the mapping

### getAbbreviationList

    public java.util.Map<java.lang.String,java.lang.String> getAbbreviationList()

  This method returns the list of abbreviations of the mapping

  Returns:
    abbreviation list of the mapping

### setAbbreviationList

    public void setAbbreviationList(java.util.Map<java.lang.String,java.lang.String> abbreviationList)

  This method sets the list of abbreviations of the mapping

  Parameters:
    `abbreviationList` - abbreviation list

### addValueToCustomData

    public void addValueToCustomData(java.lang.String key,
                                     java.lang.String value)

  This method adds a new value to the custom data of the mapping

  Parameters:
    `key` - key of the new value
    `value` - value to add

### getCustomData

    public CustomData getCustomData()

  This method returns the custom data of the mapping

  Returns:
    custom data of the mapping

### addAuthor

    public void addAuthor(java.lang.String author)

  This method adds a new author to the list of authors of the mapping

  Parameters:
    `author` - name of author to add

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

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