-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
src/main/java/world/bentobox/biomes/database/objects/BiomesIslandDataObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package world.bentobox.biomes.database.objects; | ||
|
||
|
||
import com.google.gson.annotations.Expose; | ||
|
||
import world.bentobox.bentobox.database.objects.DataObject; | ||
import world.bentobox.bentobox.database.objects.Table; | ||
|
||
|
||
/** | ||
* This class stores necessary information for each Biomes Island Data object. | ||
*/ | ||
@Table(name = "BiomesIslandData") | ||
public class BiomesIslandDataObject implements DataObject | ||
{ | ||
/** | ||
* Empty constructor for loader. | ||
*/ | ||
public BiomesIslandDataObject() | ||
{ | ||
// Empty constructor. | ||
} | ||
|
||
|
||
/** | ||
* @return the uniqueId | ||
*/ | ||
@Override | ||
public String getUniqueId() | ||
{ | ||
return uniqueId; | ||
} | ||
|
||
|
||
/** | ||
* @param uniqueId the uniqueId to set | ||
*/ | ||
@Override | ||
public void setUniqueId(String uniqueId) | ||
{ | ||
this.uniqueId = uniqueId; | ||
} | ||
|
||
|
||
// --------------------------------------------------------------------- | ||
// Section: Variables | ||
// --------------------------------------------------------------------- | ||
|
||
|
||
/** | ||
* Unique ID of the island. | ||
*/ | ||
@Expose | ||
private String uniqueId; | ||
} |