Class CurrentVision


  • public class CurrentVision
    extends java.lang.Object
    Java class for concept CurrentVision of hunterprey_beans ontology.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Creature creature
      The creature.
      protected Vision vision
      The current vision of the creature.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Creature getCreature()
      Get the creature of this CurrentVision.
      Vision getVision()
      Get the vision of this CurrentVision.
      void setCreature​(Creature creature)
      Set the creature of this CurrentVision.
      void setVision​(Vision vision)
      Set the vision of this CurrentVision.
      java.lang.String toString()
      Get a string representation of this CurrentVision.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • creature

        protected Creature creature
        The creature.
      • vision

        protected Vision vision
        The current vision of the creature.
    • Constructor Detail

      • CurrentVision

        public CurrentVision()
        Default Constructor. CurrentVision.
      • CurrentVision

        public CurrentVision​(Creature creature,
                             Vision vision)
        Init Constructor.
        Parameters:
        creature -
        vision -
    • Method Detail

      • getCreature

        public Creature getCreature()
        Get the creature of this CurrentVision. The creature.
        Returns:
        creature
      • setCreature

        public void setCreature​(Creature creature)
        Set the creature of this CurrentVision. The creature.
        Parameters:
        creature - the value to be set
      • getVision

        public Vision getVision()
        Get the vision of this CurrentVision. The current vision of the creature.
        Returns:
        vision
      • setVision

        public void setVision​(Vision vision)
        Set the vision of this CurrentVision. The current vision of the creature.
        Parameters:
        vision - the value to be set
      • toString

        public java.lang.String toString()
        Get a string representation of this CurrentVision.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.