Class CarShareMode

    • Constructor Detail

      • CarShareMode

        protected CarShareMode​(IdGroupingToken groupId)
        Constructor for car share mode
        Parameters:
        groupId - to generate unique id
      • CarShareMode

        protected CarShareMode​(CarShareMode other,
                               boolean deepCopy)
        Copy constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a deep copy, shallow copy otherwise
    • Method Detail

      • deepClone

        public CarShareMode deepClone()
        An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
        Specified by:
        deepClone in interface IdAble
        Overrides:
        deepClone in class PredefinedModeImpl
        Returns:
        deep copy of entity