Class Target

  • All Implemented Interfaces:
    ITarget

    public class Target
    extends java.lang.Object
    implements ITarget
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int id  
      private java.lang.String targetName  
    • Constructor Summary

      Constructors 
      Constructor Description
      Target​(java.lang.String targetName, int id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

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

      • targetName

        private final java.lang.String targetName
      • id

        private final int id
    • Constructor Detail

      • Target

        public Target​(java.lang.String targetName,
                      int id)
    • Method Detail

      • getId

        public int getId()
        Specified by:
        getId in interface ITarget
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface ITarget