Class CentroidImpl

    • Constructor Detail

      • CentroidImpl

        protected CentroidImpl​(IdGroupingToken groupId)
        Constructor
        Parameters:
        groupId - contiguous id generation within this group for instances of this class
      • CentroidImpl

        protected CentroidImpl​(IdGroupingToken groupId,
                               Zone parentZone)
        Constructor
        Parameters:
        groupId - contiguous id generation within this group for instances of this class
        parentZone - The parent zone of this Centroid
      • CentroidImpl

        protected CentroidImpl​(CentroidImpl centroidImpl)
        Copy constructor
        Parameters:
        centroidImpl - to copy
    • Method Detail

      • setParentzone

        protected void setParentzone​(Zone parentZone)
        Set the parent zone
        Parameters:
        parentZone - to set
      • getParentZone

        public Zone getParentZone()
        Return the parent zone of this centroid
        Specified by:
        getParentZone in interface Centroid
        Returns:
        parent zone of this centroid
      • getName

        public String getName()
        The name of the centroid
        Specified by:
        getName in interface Centroid
        Returns:
        its name
      • setName

        public void setName​(String name)
        Set the name of the centroid
        Specified by:
        setName in interface Centroid
        Parameters:
        name - to use