All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sportradar.unifiedodds.sdk.impl.entities.SportEventGenericImpl Maven / Gradle / Ivy

/*
 * Copyright (C) Sportradar AG. See LICENSE for full license governing this code
 */

package com.sportradar.unifiedodds.sdk.impl.entities;

import com.sportradar.unifiedodds.sdk.entities.SportEvent;
import com.sportradar.utils.URN;

import java.util.Date;
import java.util.Locale;

/**
 * The generic sport event entity, built if the event type could not be
 */
public class SportEventGenericImpl extends SportEventImpl implements SportEvent {

    /**
     * Initializes a new instance of {@link SportEventGenericImpl}
     *
     * @param id an {@link URN} uniquely identifying the tournament
     * @param sportId the identifier of the sport to which the event belongs
     */
    public SportEventGenericImpl(URN id, URN sportId) {
        super(id, sportId);
    }


    /**
     * Returns the sport event name
     *
     * @param locale the {@link Locale} in which the name should be provided
     * @return the sport event name if available; otherwise null
     */
    @Override
    public String getName(Locale locale) {
        return null;
    }

    /**
     * Returns the {@link Date} specifying when the sport event associated with the current
     * instance was scheduled
     *
     * @return - a {@link Date} instance specifying when the sport event associated with the current
     * instance was scheduled
     */
    @Override
    public Date getScheduledTime() {
        return null;
    }

    /**
     * Returns the {@link Date} specifying when the sport event associated with the current
     * instance was scheduled to end
     *
     * @return - a {@link Date} instance specifying when the sport event associated with the current
     * instance was scheduled to end
     */
    @Override
    public Date getScheduledEndTime() {
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy