com.planet_ink.coffee_mud.core.interfaces
Interface DBIdentifiable

All Known Subinterfaces:
Ammunition, AmmunitionWeapon, Armor, Book, CagedAnimal, ClanItem, Coins, Computer, Container, DeadBody, DeckOfCards, Deity, DoorKey, ElecPanel, Electronics, FalseLimb, Food, FuelConsumer, HandOfCards, InnKey, Item, Light, MagicDust, MiscMagic, MOB, MusicalInstrument, PackagedItems, Pill, PlayingCard, Potion, PowerGenerator, PowerSource, RawMaterial, Recipe, RoomMap, SailingShip, Scroll, Shield, ShipEngine, ShipWarComponent, Software, SpellHolder, TechComponent, Technical, Wand, Weapon
All Known Implementing Classes:
Alligator, AngryCitizen, Ape, Apple, ArchonJournal, ArchonStaff, Arquebus, Assassin, Asteroid, Backpack, BagOfEndlessness, BagOfHolding, BandedArmor, BardMap, BattleAxe, Beaver, Bed, Bee, BlackBear, BlackDragon, BlueDragon, Boat, BrassDragon, BronzeDragon, Broom, BrownBear, BrownSnake, Buck, Buffalo, Bugbear, Bull, Cat, Centaur, Centipede, Cestus, ChainMailArmor, ChainMailVest, Chair, Cheetah, Chicken, Chimp, Citizen, Claymore, CloseableContainer, Cobra, CommonBat, CopperDragon, Corpse, Cougar, Cow, Coyote, Crocodile, Dagger, DaggerOfVenom, Deer, DireWolf, Dirk, Doe, Dog, Dolphin, Doppleganger, Dragon, DragonClaw, Dress, DrowChainMailArmor, DrowDagger, DrowElf, DrowMace, DrowPriestess, DrowQuarterstaff, DrowSword, DrowWarrior, DrowWizard, DruidicMonument, Duck, DwarfStar, Elephant, EmissionScanProgram, EternityBarkArmor, EternityLeafArmor, EternityLeafShield, EternityQuarterstaff, Falcon, FieldPlate, FireGiant, FlamingSword, FlyingInsect, Fox, Frog, FrostGiant, FullPlate, GardenSnake, GasGiant, Gem, GenAbsorbantShield, GenAmmunition, GenArmor, GenAuctioneer, GenBagOfEndlessness, GenBanker, GenBed, GenBelt, GenBlaster, GenBoat, GenBoffWeapon, GenBook, GenBow, GenBussardCollector, GenCage, GenCaged, GenCageRideable, GenChair, GenCigar, GenClanApron, GenClanCard, GenClanCommonContainer, GenClanCommonItem, GenClanContainer, GenClanDonationList, GenClanFlag, GenClanItem, GenClanPamphlet, GenClanSpecialItem, GenCloak, GenCoins, GenCompBattery, GenCompEnviroSystem, GenCompGenerator, GenComputerConsole, GenContainer, GenCorpse, GenCow, GenDeflectionShield, GenDeity, GenDice, GenDisruptor, GenDisruptor2, GenDissertation, GenDress, GenDrink, GenEarring, GenEclipseField, GenElecCompItem, GenElecCompSensor, GenElecContainer, GenElecItem, GenElecPanel, GenElecWeapon, GenEmptyDrink, GenEnergyShield, GenFatWallpaper, GenFood, GenFoodResource, GenFountain, GenFuellessGenerator, GenGrapples, GenGraviticSensor, GenHandBow, GenHorse, GenInstrument, GenIntegrityShield, GenItem, GenJournal, GenKey, GenKineticField, GenLantern, GenLaserGun, GenLasso, GenLawBook, GenLibrarian, GenLightSource, GenLightSwitch, GenLimb, GenLiquidResource, GenMap, GenMirror, GenMob, GenMobilePortal, GenMultiPotion, GenMutingField, GenNet, GenPackagedItems, GenPackagedStack, GenPackagedVariety, GenPants, GenPaper, GenPerfume, GenPersonalShield, GenPhaser, GenPhaser2, GenPiano, GenPill, GenPipe, GenPlayerBook, GenPlayingCard, GenPortal, GenPostman, GenPotion, GenPowder, GenReadable, GenRecipe, GenReflectionShield, GenResource, GenRideable, GenRideable, GenRuinedItem, GenSailingShip, GenScroll, GenShield, GenShipDampener, GenShipEngine, GenShipGravityGen, GenShipPanel, GenShipProgram, GenShipShieldGenerator, GenShipThruster, GenShipWeapon, GenShirt, GenShoes, GenShopkeeper, GenSiegeWeapon, GenSling, GenSoftware, GenSolarGenerator, GenSonicGun, GenSpaceBody, GenSpaceDrive, GenSpaceShip, GenSpaceTech, GenSpear, GenStaff, GenStealthShield, GenSuperPill, GenTable, GenTechItem, GenThinArmor, GenTickerShield, GenTitle, GenTriCorder, GenTub, GenUndead, GenWallpaper, GenWand, GenWater, GenWaterPowerGenerator, GenWeapon, GenWindGenerator, GiantBat, GiantScorpion, Glaive, GlovesSpeed, GlowingMageArmor, Gnoll, Goat, GoatDoe, Goblin, GoldDragon, GoodyBag, Gorilla, GreatHelm, GreenDragon, Halberd, Hat, Hat_Intelligence, Hawk, HealthScanProgram, HeavenlyServent, Helmet, HerbChest, HideArmor, HillGiant, HoleInTheGround, HolyAvenger, Hood, Hornet, Horse, HorseCart, Ingredients, InvisibleStalker, Jaguar, Javelin, Katana, Kitten, Lantern, LargeBat, LargeChest, LargeSack, LeatherArmor, LeatherBoots, LeatherBracers, LeatherCap, LeatherGauntlets, LifeFountain, LifeScanProgram, LightSource, Lion, Lizard, LizardMan, LizardManShaman, LockableContainer, Longsword, Mace, ManualAdvancement, ManualArchon, ManualClasses, MassiveStar, MetalBracers, MichaelsMithrilChain, Minotaur, Monkey, Moonlet, MountainLion, Mouse, Naga, Natural, NeedleChest, Ogre, OilFlask, Orc, Owl, PaddedArmor, Pan, Panther, Pants, Parakeet, Parchment, Pegasus, PegasusGreater, Penguin, Pig, PortableHole, Pot, PracticePoint, Puppy, Python, Quarterstaff, QuestPoint, Rabbit, Rapier, Rat, Ration, Rattlesnake, Raven, RedDragon, Ring, Ring_Ornamental, Ring_Protection, RingMail, RingOfColdProtection, RingOfElectricity, RingOfFortitude, RingOfJustice, RingOfMagicResistance, Robes, RocketShipProgram, Ruler, Sabre, ScaleMail, Scimitar, Scorpion, ScrollSpell, Seal, SeaMap, Shark, Sheep, ShieldWeapon, ShipTelnetProgram, Shirt, Shoes, Shortsword, Sickle, SilverDragon, Skeleton, SmallChest, SmallDagger, SmallMace, SmallSack, Snake, Spider, SplintMail, Spring, Squirrel, Staff, Star, StdArmor, StdAuctioneer, StdBanker, StdBoardable, StdBoffWeapon, StdBook, StdBow, StdCage, StdCageRideable, StdClanApron, StdClanCard, StdClanCommonContainer, StdClanCommonItem, StdClanContainer, StdClanDonationList, StdClanFlag, StdClanItem, StdClanPamphlet, StdClanSpecialItem, StdCoins, StdCompBattery, StdCompFuelConsumer, StdCompFuellessGenerator, StdCompGenerator, StdCompPanel, StdComputerConsole, StdContainer, StdDeckOfCards, StdDeity, StdDice, StdDissertation, StdDrink, StdElecCompContainer, StdElecCompItem, StdElecCompSensor, StdElecContainer, StdElecItem, StdElecPanel, StdElecWeapon, StdFactoryMOB, StdFood, StdGrapples, StdHandOfCards, StdInnKey, StdItem, StdJournal, StdKey, StdLasso, StdLawBook, StdLibrarian, StdLimb, StdMap, StdMOB, StdNet, StdPaper, StdPerfume, StdPersonalShield, StdPill, StdPlayerBook, StdPlayingCard, StdPortal, StdPostman, StdPotion, StdPowder, StdProgram, StdRideable, StdRideable, StdScroll, StdShield, StdShipDampener, StdShipEngine, StdShipFuellessThruster, StdShipGravityGen, StdShipShieldGenerator, StdShipThruster, StdShipWeapon, StdShopKeeper, StdSiegeWeapon, StdSling, StdSmokable, StdSpaceBody, StdSpaceTech, StdSpear, StdTechItem, StdThinArmor, StdTitle, StdTriCorder, StdTub, StdWand, StdWeapon, SteelGauntlets, Stiletto, StoneGiant, StoneGolem, StuddedLeatherArmor, Sword, Swordfish, Teacher, ThreadbareRobes, ThrowingStone, Tiger, Toad, Torch, TrainingSession, TrappedChest, Trident, Troll, Turtle, TwoHandedSword, UmberHulk, Undead, Vulture, WalkingBoots, Walrus, Wand_Advancement, Wand_Fire, Wand_Nourishment, WandArchon, WarHammer, Waterskin, Whale, Whip, WhiteBear, WhiteDragon, WildEagle, Wineskin, Wolf, Wolverine, Worm, Wyvern, Zombie

public interface DBIdentifiable

This interface is implemented by classes who can properly save and restore a database ID, to uniquely identify the object at a particular row in the database.


Method Summary
 boolean canSaveDatabaseID()
          Returns true if this object can safely store and retrieve a database ID, and false if the TYPE of object can, but this particular instance can not.
 java.lang.String databaseID()
          Retrieve the unique contextual database ID for this object.
 void setDatabaseID(java.lang.String ID)
          Set the unique contextual database ID for this object.
 

Method Detail

databaseID

java.lang.String databaseID()
Retrieve the unique contextual database ID for this object.

Returns:
the unique contextual database ID for this object.
See Also:
canSaveDatabaseID(), setDatabaseID(String)

setDatabaseID

void setDatabaseID(java.lang.String ID)
Set the unique contextual database ID for this object.

Parameters:
ID - the unique contextual database ID for this object.
See Also:
canSaveDatabaseID(), databaseID()

canSaveDatabaseID

boolean canSaveDatabaseID()
Returns true if this object can safely store and retrieve a database ID, and false if the TYPE of object can, but this particular instance can not.

Returns:
true if setDatabaseID can be called, false otherwise
See Also:
databaseID(), setDatabaseID(String)