Class OdDataImpl<T>

    • Field Detail

      • zones

        protected OdZones zones
        holder for zones considered in the matrix
    • Constructor Detail

      • OdDataImpl

        public OdDataImpl​(Class<? extends IdAble> idTokenClass,
                          IdGroupingToken idToken,
                          OdZones zones)
        Constructor
        Parameters:
        idTokenClass - to use for id grouping
        idToken - to use for id generation
        zones - zones considered in the matrix
      • OdDataImpl

        public OdDataImpl​(OdDataImpl<T> other)
        Copy Constructor
        Parameters:
        other - to copy
    • Method Detail

      • getOdZones

        protected OdZones getOdZones()
        Access to underlying zones
        Returns:
        odZones
      • getNumberOfOdZones

        public int getNumberOfOdZones()
        Returns the number of zones contained in the object
        Specified by:
        getNumberOfOdZones in interface OdData<T>
        Returns:
        number of zones in the object
      • clone

        public abstract OdDataImpl<T> clone()
        Create a shallow copy of this entity
        Specified by:
        clone in interface IdAble
        Specified by:
        clone in class IdAbleImpl
        Returns:
        shallow copy of entity