@SuppressWarnings("unchecked")
    @Override
    public <T extends ApiRoom> T getRoomById(int id) {
        Room sfsRoom = getZone().getRoomById(id);
        if(sfsRoom != null && sfsRoom.containsProperty(APIKey.ROOM))
            return (T) sfsRoom.getProperty(APIKey.ROOM);
        return null;
    }
@ SuppressWarnings ( "unchecked" ) @ Override public < T extends ApiRoom > T getRoomById ( int id ) { Room sfsRoom = getZone ( ) . getRoomById ( id ) ; if ( sfsRoom != null && sfsRoom . containsProperty ( APIKey . ROOM ) ) return ( T ) sfsRoom . getProperty ( APIKey . ROOM ) ; return null ; }
/* (non-Javadoc)
@see com.tvd12.ezyfox.core.entities.ApiZone#getRoomById(int)